提供: Minecraft Modding Wiki
2012年10月23日 (火) 20:16時点におけるTomhwbc (トーク | 投稿記録)による版
移動先: 案内検索

このページはMinecraft Forge WikiInstallation/Sourceの訳です。

インストールとソースコード

Minecraft Forgeのインストールは簡単です。以下のステップを正確に辿れば、問題なく済むでしょう。使用する前には、説明に一般的なエラーと警告が書いてあるので、全て読んでください。

インストールの手順

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 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.


1、JDKがインストールされているか確認してください

始めに、JDK(Java Development Kit:原文注釈無し)がインストールされているかを確認してください。もししていなかったら、Java SDK Standard Edition(short JDK)をインストールしてください。

次に、JDKとJREのバイナリフォルダに環境変数を通します。
(翻訳者注:以下環境変数PATHの通し方ですが、日本語解説サイトの方が良いでしょう)



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


必要なものをダウンロードします。以下のファイルを用意してください。

  • 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.


プロジェクト用のディレクトリを作成し、MCPのzipフォルダを中にいれ、解凍してください


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.


プロジェクトディレクトリ内に解凍したMCPの中の、"jars"フォルダに、

  • minecraft_server.jar

".minecraft"の中の

  • bin
  • resource

を入れてください。


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

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' Try deleting the eclipse directory within your MCP directory, and then run the install script. Please ensure that Eclipse is closed before installation.