-
Notifications
You must be signed in to change notification settings - Fork 0
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
- Loading branch information
0 parents
commit 052281e
Showing
23 changed files
with
13,737 additions
and
0 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,22 @@ | ||
# eclipse | ||
bin | ||
*.launch | ||
.settings | ||
.metadata | ||
.classpath | ||
.project | ||
|
||
# idea | ||
out | ||
*.ipr | ||
*.iws | ||
*.iml | ||
.idea | ||
|
||
# gradle | ||
build | ||
.gradle | ||
|
||
# other | ||
eclipse | ||
run |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,28 @@ | ||
This is Forge Mod Loader. | ||
|
||
You can find the source code at all times at https://github.com/MinecraftForge/FML | ||
|
||
This minecraft mod is a clean open source implementation of a mod loader for minecraft servers | ||
and minecraft clients. | ||
|
||
The code is authored by cpw. | ||
|
||
It began by partially implementing an API defined by the client side ModLoader, authored by Risugami. | ||
http://www.minecraftforum.net/topic/75440- | ||
This support has been dropped as of Minecraft release 1.7, as Risugami no longer maintains ModLoader. | ||
|
||
It also contains suggestions and hints and generous helpings of code from LexManos, author of MinecraftForge. | ||
http://www.minecraftforge.net/ | ||
|
||
Additionally, it contains an implementation of topological sort based on that | ||
published at http://keithschwarz.com/interesting/code/?dir=topological-sort | ||
|
||
It also contains code from the Maven project for performing versioned dependency | ||
resolution. http://maven.apache.org/ | ||
|
||
It also contains a partial repackaging of the javaxdelta library from http://sourceforge.net/projects/javaxdelta/ | ||
with credit to it's authors. | ||
|
||
Forge Mod Loader downloads components from the Minecraft Coder Pack | ||
(http://mcp.ocean-labs.de/index.php/Main_Page) with kind permission from the MCP team. | ||
|
Large diffs are not rendered by default.
Oops, something went wrong.
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,26 @@ | ||
* Eloraam * | ||
|
||
* FlowerChild * | ||
|
||
* Hawkye * | ||
|
||
* MALfunction84 * | ||
|
||
Submitted the sleep handler code for his mod (Somnia) and others to use. | ||
|
||
* Scokeev9 * | ||
|
||
Gave permission for ScotTools API to be integrated into MCF, and also supported the Forge by converting his mods to use it. | ||
|
||
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. | ||
|
||
* SpaceToad * | ||
|
||
* LexManos * | ||
|
||
* cpw * | ||
|
||
* Minecraft Coder Pack (MCP) * | ||
Forge Mod Loader and Minecraft Forge have permission to distribute and automatically download components of MCP and distribute MCP data files. | ||
This permission is not transitive and others wishing to redistribute the Minecraft Forge source independently should seek permission of MCP or | ||
remove the MCP data files and request their users to download MCP separately. |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,10 @@ | ||
IBXM is copyright (c) 2007, Martin Cameron, and is licensed under the BSD License. | ||
All rights reserved. | ||
|
||
Redistribution and use in source and binary forms, with or without modification, are permitted provided that the following conditions are met: | ||
|
||
Redistributions of source code must retain the above copyright notice, this list of conditions and the following disclaimer. | ||
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. | ||
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. | ||
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. | ||
|
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,40 @@ | ||
SoundSystem CodecIBXM Class License: | ||
|
||
You are free to use this class for any purpose, commercial or otherwise. | ||
You may modify this class or source code, and distribute it any way you | ||
like, provided the following conditions are met: | ||
|
||
1) You may not falsely claim to be the author of this class or any | ||
unmodified portion of it. | ||
2) You may not copyright this class or a modified version of it and then | ||
sue me for copyright infringement. | ||
3) If you modify the source code, you must clearly document the changes | ||
made before redistributing the modified source code, so other users know | ||
it is not the original code. | ||
4) You are not required to give me credit for this class in any derived | ||
work, but if you do, you must also mention my website: | ||
http://www.paulscode.com | ||
5) I the author will not be responsible for any damages (physical, | ||
financial, or otherwise) caused by the use if this class or any | ||
portion of it. | ||
6) I the author do not guarantee, warrant, or make any representations, | ||
either expressed or implied, regarding the use of this class or any | ||
portion of it. | ||
|
||
Author: Paul Lamb | ||
http://www.paulscode.com | ||
|
||
|
||
This software is based on or using the IBXM library available from | ||
http://www.geocities.com/sunet2000/ | ||
|
||
|
||
IBXM is copyright (c) 2007, Martin Cameron, and is licensed under the BSD License. | ||
All rights reserved. | ||
|
||
Redistribution and use in source and binary forms, with or without modification, are permitted provided that the following conditions are met: | ||
|
||
Redistributions of source code must retain the above copyright notice, this list of conditions and the following disclaimer. | ||
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. | ||
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. | ||
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. |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,59 @@ | ||
------------------------------------------- | ||
Source installation information for modders | ||
------------------------------------------- | ||
This code follows the Minecraft Forge installation methodology. It will apply | ||
some small patches to the vanilla MCP source code, giving you and it access | ||
to some of the data and functions you need to build a successful mod. | ||
|
||
Note also that the patches are built against "unrenamed" MCP source code (aka | ||
srgnames) - this means that you will not be able to read them directly against | ||
normal code. | ||
|
||
Source pack installation information: | ||
|
||
Standalone source installation | ||
============================== | ||
|
||
Step 1: Open your command-line and browse to the folder where you extracted the zip file. | ||
|
||
Step 2: Once you have a command window up in the folder that the downloaded material was placed, type: | ||
|
||
Windows: "gradlew setupDecompWorkspace" | ||
Linux/Mac OS: "./gradlew setupDecompWorkspace" | ||
|
||
Step 3: After all that finished, you're left with a choice. | ||
For eclipse, run "gradlew eclipse" (./gradlew eclipse if you are on Mac/Linux) | ||
|
||
If you preffer to use IntelliJ, steps are a little different. | ||
1. Open IDEA, and import project. | ||
2. Select your build.gradle file and have it import. | ||
3. Once it's finished you must close IntelliJ and run the following command: | ||
|
||
"gradlew genIntellijRuns" (./gradlew genIntellijRuns if you are on Mac/Linux) | ||
|
||
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) | ||
|
||
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. | ||
|
||
Should it still not work, | ||
Refer to #ForgeGradle on EsperNet for more information about the gradle environment. | ||
|
||
Tip: | ||
If you do not care about seeing Minecraft's source code you can replace "setupDecompWorkspace" with one of the following: | ||
"setupDevWorkspace": Will patch, deobfusicated, and gather required assets to run minecraft, but will not generated human readable source code. | ||
"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. | ||
|
||
Tip: | ||
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. | ||
|
||
Forge source installation | ||
========================= | ||
MinecraftForge ships with this code and installs it as part of the forge | ||
installation process, no further action is required on your part. | ||
|
||
LexManos' Install Video | ||
======================= | ||
https://www.youtube.com/watch?v=8VEdtQLuLO0&feature=youtu.be | ||
|
||
For more details update more often refer to the Forge Forums: | ||
http://www.minecraftforge.net/forum/index.php/topic,14048.0.html |
Binary file not shown.
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,77 @@ | ||
buildscript { | ||
repositories { | ||
jcenter() | ||
maven { url = "http://files.minecraftforge.net/maven" } | ||
} | ||
dependencies { | ||
classpath 'net.minecraftforge.gradle:ForgeGradle:2.3-SNAPSHOT' | ||
} | ||
} | ||
apply plugin: 'net.minecraftforge.gradle.forge' | ||
//Only edit below this line, the above code adds and enables the necessary things for Forge to be setup. | ||
|
||
|
||
version = "1.0" | ||
group = "com.github.vftdan.vftdankeybinder" // http://maven.apache.org/guides/mini/guide-naming-conventions.html | ||
archivesBaseName = "vftdankeybinder" | ||
|
||
sourceCompatibility = targetCompatibility = '1.8' // Need this here so eclipse task generates correctly. | ||
compileJava { | ||
sourceCompatibility = targetCompatibility = '1.8' | ||
} | ||
|
||
minecraft { | ||
version = "1.12-14.21.1.2396" | ||
runDir = "run" | ||
|
||
// the mappings can be changed at any time, and must be in the following format. | ||
// snapshot_YYYYMMDD snapshot are built nightly. | ||
// stable_# stables are built at the discretion of the MCP team. | ||
// Use non-default mappings at your own risk. they may not always work. | ||
// simply re-run your setup task after changing the mappings to update your workspace. | ||
mappings = "snapshot_20170624" | ||
// makeObfSourceJar = false // an Srg named sources jar is made by default. uncomment this to disable. | ||
} | ||
|
||
dependencies { | ||
// you may put jars on which you depend on in ./libs | ||
// or you may define them like so.. | ||
//compile "some.group:artifact:version:classifier" | ||
//compile "some.group:artifact:version" | ||
|
||
// real examples | ||
//compile 'com.mod-buildcraft:buildcraft:6.0.8:dev' // adds buildcraft to the dev env | ||
//compile 'com.googlecode.efficient-java-matrix-library:ejml:0.24' // adds ejml to the dev env | ||
|
||
// the 'provided' configuration is for optional dependencies that exist at compile-time but might not at runtime. | ||
//provided 'com.mod-buildcraft:buildcraft:6.0.8:dev' | ||
|
||
// the deobf configurations: 'deobfCompile' and 'deobfProvided' are the same as the normal compile and provided, | ||
// except that these dependencies get remapped to your current MCP mappings | ||
//deobfCompile 'com.mod-buildcraft:buildcraft:6.0.8:dev' | ||
//deobfProvided 'com.mod-buildcraft:buildcraft:6.0.8:dev' | ||
|
||
// for more info... | ||
// http://www.gradle.org/docs/current/userguide/artifact_dependencies_tutorial.html | ||
// http://www.gradle.org/docs/current/userguide/dependency_management.html | ||
|
||
} | ||
|
||
processResources { | ||
// this will ensure that this task is redone when the versions change. | ||
inputs.property "version", project.version | ||
inputs.property "mcversion", project.minecraft.version | ||
|
||
// replace stuff in mcmod.info, nothing else | ||
from(sourceSets.main.resources.srcDirs) { | ||
include 'mcmod.info' | ||
|
||
// replace version and mcversion | ||
expand 'version':project.version, 'mcversion':project.minecraft.version | ||
} | ||
|
||
// copy everything else except the mcmod.info | ||
from(sourceSets.main.resources.srcDirs) { | ||
exclude 'mcmod.info' | ||
} | ||
} |
Oops, something went wrong.