A version of Forge in the process of being modified to support up to 32,768 biomes.
Uses a modified version of the Anvil format with the extended biome ID split over the original "Biomes" byte array (low 8 bits), and the new "BiomesUpper" byte array (high 8 bits).
Mods aware of the extended biome array can get the combined biome array as a short array using GetShortBiomeArray(); high and low bytes can also be retrieved separately by using GetBiomeArray() (low bits) and GetUpperBiomeArray() (high bits). Biomes can be set using either setCombinedBiomeArray() (pass a short array); or setUpperBiomeArray() (high bits) and setLowerBiomeArray() (low bits); or both at once by passing two byte arrays to setBothBiomeArrays(low, high). Do not use setBiomeArray() to set the low bits, as it clears the high-bit array for compatibility purposes.
Mods unaware of extended biomes will only see the lowest 8 bits when using GetBiomeArray, which may produce strange behavior. Calls to SetBiomeArray will probably mess up the biomes in the chunk where it's used, so don't use area-altering rituals from unpatched mods!
Go to http://files.minecraftforge.net and select the minecraft version you wish to get forge for from the list.
You can download the installer for the Recommended Build or the Lastest build there. Latest builds may have newer features but may be more unstable as a result. The installer will attempt to install forge into your vanilla launcher environment, where you can then create a new profile using that version and play the game!
Here is a short video from Rorax showing how to install and setup Forge.
For support and user questions, visit http://www.minecraftforge.net.
If you wish to setup a new mod for Forge, visit http://files.minecraftforge.net and select the MDK download.
This is the Modder Developer Kit
- basically, an example mod with all
the tooling needed to create a Forge mod workspace ready for use in your
IDE of choice.
Here is a short video from @cpw showing how to install and setup the MDK in Intellij.
If you wish to actually inspect Forge, submit PRs or otherwise work
with Forge itself, you're in the right place! Clone this (either
directly, or make a Fork first if you want to make a PR) and run
gradlew.bat setup
or gradlew setup
. This will download and
setup all the bits you need to have a functional Forge workspace.
Here is a short video from @cpw showing how to install and setup Forge in Intellij.
Pull requests should target the current default branch. Currently, that is the 1.10.x branch for Minecraft 1.10.2.
If you intend to modify a minecraft patch, or add a new one, always run
gradlew genPatches
to generate your patch and validate that you
are not doing anything unexpected in your patch.
As stated in the (https://github.com/MinecraftForge/MinecraftForge/blob/1.10.x/LICENSE-new.txt) file, we require all contributors to acknowledge the Forge Contributor License Agreement. Please ensure you have a valid email address associated with your github account to do this. If you have previously signed it, you should be OK.