Skip to content

Commit 6e431c0

Browse files
committed
initialize with the contents of forge-1.10.2-12.18.1.2011-mdk.zip
0 parents  commit 6e431c0

15 files changed

+11771
-0
lines changed

.gitignore

Lines changed: 22 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,22 @@
1+
# eclipse
2+
bin
3+
*.launch
4+
.settings
5+
.metadata
6+
.classpath
7+
.project
8+
9+
# idea
10+
out
11+
*.ipr
12+
*.iws
13+
*.iml
14+
.idea
15+
16+
# gradle
17+
build
18+
.gradle
19+
20+
# other
21+
eclipse
22+
run

CREDITS-fml.txt

Lines changed: 28 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,28 @@
1+
This is Forge Mod Loader.
2+
3+
You can find the source code at all times at https://github.com/MinecraftForge/FML
4+
5+
This minecraft mod is a clean open source implementation of a mod loader for minecraft servers
6+
and minecraft clients.
7+
8+
The code is authored by cpw.
9+
10+
It began by partially implementing an API defined by the client side ModLoader, authored by Risugami.
11+
http://www.minecraftforum.net/topic/75440-
12+
This support has been dropped as of Minecraft release 1.7, as Risugami no longer maintains ModLoader.
13+
14+
It also contains suggestions and hints and generous helpings of code from LexManos, author of MinecraftForge.
15+
http://www.minecraftforge.net/
16+
17+
Additionally, it contains an implementation of topological sort based on that
18+
published at http://keithschwarz.com/interesting/code/?dir=topological-sort
19+
20+
It also contains code from the Maven project for performing versioned dependency
21+
resolution. http://maven.apache.org/
22+
23+
It also contains a partial repackaging of the javaxdelta library from http://sourceforge.net/projects/javaxdelta/
24+
with credit to it's authors.
25+
26+
Forge Mod Loader downloads components from the Minecraft Coder Pack
27+
(http://mcp.ocean-labs.de/index.php/Main_Page) with kind permission from the MCP team.
28+

LICENSE-new.txt

Lines changed: 483 additions & 0 deletions
Large diffs are not rendered by default.

MinecraftForge-Credits.txt

Lines changed: 26 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,26 @@
1+
* Eloraam *
2+
3+
* FlowerChild *
4+
5+
* Hawkye *
6+
7+
* MALfunction84 *
8+
9+
Submitted the sleep handler code for his mod (Somnia) and others to use.
10+
11+
* Scokeev9 *
12+
13+
Gave permission for ScotTools API to be integrated into MCF, and also supported the Forge by converting his mods to use it.
14+
15+
ScotTools Background: ScotTools was an API that enabled modders to add blocks to harvesting levels (and many other ease-of-use features to create new tools), and the first tool API that used block material for block breaking efficiency which allowed blocks from mods that didn't use ScotTools API to break with the correct speed.
16+
17+
* SpaceToad *
18+
19+
* LexManos *
20+
21+
* cpw *
22+
23+
* Minecraft Coder Pack (MCP) *
24+
Forge Mod Loader and Minecraft Forge have permission to distribute and automatically download components of MCP and distribute MCP data files.
25+
This permission is not transitive and others wishing to redistribute the Minecraft Forge source independently should seek permission of MCP or
26+
remove the MCP data files and request their users to download MCP separately.

Paulscode IBXM Library License.txt

Lines changed: 10 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,10 @@
1+
IBXM is copyright (c) 2007, Martin Cameron, and is licensed under the BSD License.
2+
All rights reserved.
3+
4+
Redistribution and use in source and binary forms, with or without modification, are permitted provided that the following conditions are met:
5+
6+
Redistributions of source code must retain the above copyright notice, this list of conditions and the following disclaimer.
7+
Redistributions in binary form must reproduce the above copyright notice, this list of conditions and the following disclaimer in the documentation and/or other materials provided with the distribution.
8+
Neither the name of mumart nor the names of its contributors may be used to endorse or promote products derived from this software without specific prior written permission.
9+
THIS SOFTWARE IS PROVIDED BY THE COPYRIGHT HOLDERS AND CONTRIBUTORS "AS IS" AND ANY EXPRESS OR IMPLIED WARRANTIES, INCLUDING, BUT NOT LIMITED TO, THE IMPLIED WARRANTIES OF MERCHANTABILITY AND FITNESS FOR A PARTICULAR PURPOSE ARE DISCLAIMED. IN NO EVENT SHALL THE COPYRIGHT HOLDER OR CONTRIBUTORS BE LIABLE FOR ANY DIRECT, INDIRECT, INCIDENTAL, SPECIAL, EXEMPLARY, OR CONSEQUENTIAL DAMAGES (INCLUDING, BUT NOT LIMITED TO, PROCUREMENT OF SUBSTITUTE GOODS OR SERVICES; LOSS OF USE, DATA, OR PROFITS; OR BUSINESS INTERRUPTION) HOWEVER CAUSED AND ON ANY THEORY OF LIABILITY, WHETHER IN CONTRACT, STRICT LIABILITY, OR TORT (INCLUDING NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY OUT OF THE USE OF THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE.
10+
Lines changed: 40 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,40 @@
1+
SoundSystem CodecIBXM Class License:
2+
3+
You are free to use this class for any purpose, commercial or otherwise.
4+
You may modify this class or source code, and distribute it any way you
5+
like, provided the following conditions are met:
6+
7+
1) You may not falsely claim to be the author of this class or any
8+
unmodified portion of it.
9+
2) You may not copyright this class or a modified version of it and then
10+
sue me for copyright infringement.
11+
3) If you modify the source code, you must clearly document the changes
12+
made before redistributing the modified source code, so other users know
13+
it is not the original code.
14+
4) You are not required to give me credit for this class in any derived
15+
work, but if you do, you must also mention my website:
16+
http://www.paulscode.com
17+
5) I the author will not be responsible for any damages (physical,
18+
financial, or otherwise) caused by the use if this class or any
19+
portion of it.
20+
6) I the author do not guarantee, warrant, or make any representations,
21+
either expressed or implied, regarding the use of this class or any
22+
portion of it.
23+
24+
Author: Paul Lamb
25+
http://www.paulscode.com
26+
27+
28+
This software is based on or using the IBXM library available from
29+
http://www.geocities.com/sunet2000/
30+
31+
32+
IBXM is copyright (c) 2007, Martin Cameron, and is licensed under the BSD License.
33+
All rights reserved.
34+
35+
Redistribution and use in source and binary forms, with or without modification, are permitted provided that the following conditions are met:
36+
37+
Redistributions of source code must retain the above copyright notice, this list of conditions and the following disclaimer.
38+
Redistributions in binary form must reproduce the above copyright notice, this list of conditions and the following disclaimer in the documentation and/or other materials provided with the distribution.
39+
Neither the name of mumart nor the names of its contributors may be used to endorse or promote products derived from this software without specific prior written permission.
40+
THIS SOFTWARE IS PROVIDED BY THE COPYRIGHT HOLDERS AND CONTRIBUTORS "AS IS" AND ANY EXPRESS OR IMPLIED WARRANTIES, INCLUDING, BUT NOT LIMITED TO, THE IMPLIED WARRANTIES OF MERCHANTABILITY AND FITNESS FOR A PARTICULAR PURPOSE ARE DISCLAIMED. IN NO EVENT SHALL THE COPYRIGHT HOLDER OR CONTRIBUTORS BE LIABLE FOR ANY DIRECT, INDIRECT, INCIDENTAL, SPECIAL, EXEMPLARY, OR CONSEQUENTIAL DAMAGES (INCLUDING, BUT NOT LIMITED TO, PROCUREMENT OF SUBSTITUTE GOODS OR SERVICES; LOSS OF USE, DATA, OR PROFITS; OR BUSINESS INTERRUPTION) HOWEVER CAUSED AND ON ANY THEORY OF LIABILITY, WHETHER IN CONTRACT, STRICT LIABILITY, OR TORT (INCLUDING NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY OUT OF THE USE OF THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE.

README.txt

Lines changed: 59 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,59 @@
1+
-------------------------------------------
2+
Source installation information for modders
3+
-------------------------------------------
4+
This code follows the Minecraft Forge installation methodology. It will apply
5+
some small patches to the vanilla MCP source code, giving you and it access
6+
to some of the data and functions you need to build a successful mod.
7+
8+
Note also that the patches are built against "unrenamed" MCP source code (aka
9+
srgnames) - this means that you will not be able to read them directly against
10+
normal code.
11+
12+
Source pack installation information:
13+
14+
Standalone source installation
15+
==============================
16+
17+
Step 1: Open your command-line and browse to the folder where you extracted the zip file.
18+
19+
Step 2: Once you have a command window up in the folder that the downloaded material was placed, type:
20+
21+
Windows: "gradlew setupDecompWorkspace"
22+
Linux/Mac OS: "./gradlew setupDecompWorkspace"
23+
24+
Step 3: After all that finished, you're left with a choice.
25+
For eclipse, run "gradlew eclipse" (./gradlew eclipse if you are on Mac/Linux)
26+
27+
If you preffer to use IntelliJ, steps are a little different.
28+
1. Open IDEA, and import project.
29+
2. Select your build.gradle file and have it import.
30+
3. Once it's finished you must close IntelliJ and run the following command:
31+
32+
"gradlew genIntellijRuns" (./gradlew genIntellijRuns if you are on Mac/Linux)
33+
34+
Step 4: The final step is to open Eclipse and switch your workspace to /eclipse/ (if you use IDEA, it should automatically start on your project)
35+
36+
If at any point you are missing libraries in your IDE, or you've run into problems you can run "gradlew --refresh-dependencies" to refresh the local cache. "gradlew clean" to reset everything {this does not effect your code} and then start the processs again.
37+
38+
Should it still not work,
39+
Refer to #ForgeGradle on EsperNet for more information about the gradle environment.
40+
41+
Tip:
42+
If you do not care about seeing Minecraft's source code you can replace "setupDecompWorkspace" with one of the following:
43+
"setupDevWorkspace": Will patch, deobfusicated, and gather required assets to run minecraft, but will not generated human readable source code.
44+
"setupCIWorkspace": Same as Dev but will not download any assets. This is useful in build servers as it is the fastest because it does the least work.
45+
46+
Tip:
47+
When using Decomp workspace, the Minecraft source code is NOT added to your workspace in a editable way. Minecraft is treated like a normal Library. Sources are there for documentation and research purposes and usually can be accessed under the 'referenced libraries' section of your IDE.
48+
49+
Forge source installation
50+
=========================
51+
MinecraftForge ships with this code and installs it as part of the forge
52+
installation process, no further action is required on your part.
53+
54+
LexManos' Install Video
55+
=======================
56+
https://www.youtube.com/watch?v=8VEdtQLuLO0&feature=youtu.be
57+
58+
For more details update more often refer to the Forge Forums:
59+
http://www.minecraftforge.net/forum/index.php/topic,14048.0.html

build.gradle

Lines changed: 82 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,82 @@
1+
2+
// For those who want the bleeding edge
3+
buildscript {
4+
repositories {
5+
jcenter()
6+
maven {
7+
name = "forge"
8+
url = "http://files.minecraftforge.net/maven"
9+
}
10+
}
11+
dependencies {
12+
classpath 'net.minecraftforge.gradle:ForgeGradle:2.2-SNAPSHOT'
13+
}
14+
}
15+
apply plugin: 'net.minecraftforge.gradle.forge'
16+
17+
/*
18+
// for people who want stable - not yet functional for MC 1.8.8 - we require the forgegradle 2.1 snapshot
19+
plugins {
20+
id "net.minecraftforge.gradle.forge" version "2.0.2"
21+
}
22+
*/
23+
version = "1.0"
24+
group= "com.yourname.modid" // http://maven.apache.org/guides/mini/guide-naming-conventions.html
25+
archivesBaseName = "modid"
26+
27+
minecraft {
28+
version = "1.10.2-12.18.1.2011"
29+
runDir = "run"
30+
31+
// the mappings can be changed at any time, and must be in the following format.
32+
// snapshot_YYYYMMDD snapshot are built nightly.
33+
// stable_# stables are built at the discretion of the MCP team.
34+
// Use non-default mappings at your own risk. they may not allways work.
35+
// simply re-run your setup task after changing the mappings to update your workspace.
36+
mappings = "snapshot_20160518"
37+
// makeObfSourceJar = false // an Srg named sources jar is made by default. uncomment this to disable.
38+
}
39+
40+
dependencies {
41+
// you may put jars on which you depend on in ./libs
42+
// or you may define them like so..
43+
//compile "some.group:artifact:version:classifier"
44+
//compile "some.group:artifact:version"
45+
46+
// real examples
47+
//compile 'com.mod-buildcraft:buildcraft:6.0.8:dev' // adds buildcraft to the dev env
48+
//compile 'com.googlecode.efficient-java-matrix-library:ejml:0.24' // adds ejml to the dev env
49+
50+
// the 'provided' configuration is for optional dependencies that exist at compile-time but might not at runtime.
51+
//provided 'com.mod-buildcraft:buildcraft:6.0.8:dev'
52+
53+
// the deobf configurations: 'deobfCompile' and 'deobfProvided' are the same as the normal compile and provided,
54+
// except that these dependencies get remapped to your current MCP mappings
55+
//deobfCompile 'com.mod-buildcraft:buildcraft:6.0.8:dev'
56+
//deobfProvided 'com.mod-buildcraft:buildcraft:6.0.8:dev'
57+
58+
// for more info...
59+
// http://www.gradle.org/docs/current/userguide/artifact_dependencies_tutorial.html
60+
// http://www.gradle.org/docs/current/userguide/dependency_management.html
61+
62+
}
63+
64+
processResources
65+
{
66+
// this will ensure that this task is redone when the versions change.
67+
inputs.property "version", project.version
68+
inputs.property "mcversion", project.minecraft.version
69+
70+
// replace stuff in mcmod.info, nothing else
71+
from(sourceSets.main.resources.srcDirs) {
72+
include 'mcmod.info'
73+
74+
// replace version and mcversion
75+
expand 'version':project.version, 'mcversion':project.minecraft.version
76+
}
77+
78+
// copy everything else, thats not the mcmod.info
79+
from(sourceSets.main.resources.srcDirs) {
80+
exclude 'mcmod.info'
81+
}
82+
}

0 commit comments

Comments
 (0)