提供: Minecraft Modding Wiki
この編集を取り消せます。
下記の差分を確認して、本当に取り消していいか検証してください。よろしければ変更を保存して取り消しを完了してください。
最新版 | 編集中の文章 | ||
1行目: | 1行目: | ||
− | + | Installation/Source | |
+ | Installing Minecraft Forge is a simple process. Follow these steps exactly, and you should be fine. You should also read all of the instructions before beginning, including the common errors and warnings. | ||
+ | ---- | ||
+ | |||
= インストールとソースコード = | = インストールとソースコード = | ||
Minecraft Forgeのインストールは簡単です。以下のステップを正確に辿れば、問題なく済むでしょう。使用する前には、説明に一般的なエラーと警告が書いてあるので、全て読んでください。 | Minecraft Forgeのインストールは簡単です。以下のステップを正確に辿れば、問題なく済むでしょう。使用する前には、説明に一般的なエラーと警告が書いてあるので、全て読んでください。 | ||
− | + | ---- | |
− | |||
− | |||
− | + | Installation Process | |
− | + | 1. Make sure you have the JDK installed. | |
− | + | If you do not, install Java SDK Standard Edition (short JDK). Then, add the paths to your JDK and JRE bin folders to the Environment Variable PATH. | |
+ | Example for Windows users of what you have to add to the variable (entries are seperated by ";" ): | ||
C:\Program Files\Java\jdk1.6.0_24\bin;C:\Program Files\Java\jre6\bin | C:\Program Files\Java\jdk1.6.0_24\bin;C:\Program Files\Java\jre6\bin | ||
− | + | You should also be able to use Java 7 (JDK 1.7), but doing so means that all users of your mod must also be using Java 7. | |
− | + | 2. Download everything you will need. | |
− | + | You're going to need a fresh copy of the following programs: | |
− | + | Minecraft | |
− | + | Minecraft Server JAR | |
− | + | MCP (Minecraft Coder Pack) | |
− | + | Minecraft Forge Source | |
− | + | 3. Extract MCP | |
− | + | Create a directory for your project. Put the MCP zip inside of it and, extract it into that folder. | |
− | + | 4. Add Minecraft Files | |
− | + | Copy the "minecraft_server.jar" file and the folders "bin" and "resources" from your "%APPDATA%\.minecraft" folder into the "jars" folder created by the MCP extraction in your project directory. | |
− | + | 5. Install Forge | |
− | + | Place the Forge source zip into your project directory, and extract it. | |
− | + | Your project folder should now include a "forge" directory containing all extracted files. If so, just run install.cmd (Windows) or install.sh (Mac/Linux). This will decompile Minecraft and make all base edits necessary. | |
− | + | The time it takes to decompile properly can vary on the hardware. Less than ten minutes is average, but there have been reports of decompilation taking over an hour. Why not get something to eat while this happens? | |
− | + | When the script is finished, Forge will be properly installed. | |
− | + | Common Errors and General Warnings | |
− | |||
− | |||
− | |||
− | |||
− | ".minecraft" | ||
− | |||
− | |||
− | |||
− | |||
− | |||
− | Forge source zip | ||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
+ | Snapshots | ||
+ | Forge includes a snapshot of the MCP mappings. The mappings may not be the most current, but you must use the provided mappings in order for the patch files to work together. | ||
+ | MCP Scripts | ||
+ | You do not need to run any of the MCP scripts to install Forge. Forge's install.sh will do it for you. | ||
+ | If you see an error which looks like this | ||
WindowsError: [Error 5] Access is denied: '<..>\\mcp72\\eclipse' | WindowsError: [Error 5] Access is denied: '<..>\\mcp72\\eclipse' | ||
− | + | Try deleting the eclipse directory within your MCP directory, and then run the install script. | |
− | + | Please ensure that Eclipse is closed before installation. | |
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− |