-------------------------------------------
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
==============================
See the Forge Documentation online for more detailed instructions:
http://mcforge.readthedocs.io/en/latest/gettingstarted/
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 prefer 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 affect 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, deobfuscate, and gather required assets to run minecraft, but will not generate 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
没有合适的资源?快使用搜索试试~ 我知道了~
MC-1.12.2 Forge MDK
共28个文件
prefs:7个
txt:6个
properties:2个
需积分: 48 30 下载量 140 浏览量
2019-02-03
13:11:18
上传
评论 4
收藏 79KB ZIP 举报
温馨提示
我的世界mod制作资源:forge-1.12.2-14.23.5.2810-mdk
资源推荐
资源详情
资源评论
收起资源包目录
forge-1.12.2-14.23.5.2810-mdk.zip (28个子文件)
README.txt 3KB
gradlew.bat 2KB
gradlew 5KB
gradle.properties 213B
LICENSE-Paulscode IBXM Library.txt 1KB
gradle
wrapper
gradle-wrapper.jar 51KB
gradle-wrapper.properties 231B
src
main
resources
pack.mcmeta 406B
mcmod.info 350B
java
com
example
examplemod
ExampleMod.java 951B
forge-1.12.2-14.23.5.2810-changelog.txt 9KB
LICENSE-Paulscode SoundSystem CodecIBXM.txt 3KB
CREDITS.txt 3KB
eclipse
.metadata
.plugins
org.eclipse.debug.core
.launches
Client.launch 738B
Server.launch 744B
org.eclipse.core.runtime
.settings
org.eclipse.ui.editors.prefs 117B
org.eclipse.ui.prefs 77B
org.eclipse.core.resources.prefs 92B
org.eclipse.ui.ide.prefs 271B
org.eclipse.epp.usagedata.gathering.prefs 111B
org.eclipse.debug.ui.prefs 595B
org.eclipse.jdt.core.prefs 767B
org.eclipse.debug.ui
launchConfigurationHistory.xml 1KB
org.eclipse.core.resources
.root
0.tree 468B
.projects
MDKExample
.location 0B
.gitignore 144B
LICENSE.txt 27KB
build.gradle 3KB
共 28 条
- 1
资源评论
letusflyinthebluesky
- 粉丝: 3
- 资源: 2
上传资源 快速赚钱
- 我的内容管理 展开
- 我的资源 快来上传第一个资源
- 我的收益 登录查看自己的收益
- 我的积分 登录查看自己的积分
- 我的C币 登录后查看C币余额
- 我的收藏
- 我的下载
- 下载帮助
安全验证
文档复制为VIP权益,开通VIP直接复制
信息提交成功