Minecraft Forge 1.16.4-35.1.32, with an *ACTUALLY* secure version of Log4j.
a1e41f5464
Add the actual patches that I forgot. Add simple implementations of IStorage and the factory methods. Add ItemStackHandler. A simple IItemHandler implementaton. return nulls, not throw nulls. Move the vanilla wrappers to a separate class for now. Minor clean ups of VanillaWrapper code. Inline static methods. Add comments. Minor cleanup of code. Remove redundant size field and add a validate slot index method. Minor formatting issues. Break early If stacksize to insert is 0. Remove setByte() methods. Throw exception if IItemHandler can't be modifyed in NBT loading. Replace event handler with patches Add capability to mine cart inventory entities. Change formatting and registration of capability. Make InventoryPlayer implements IItemHandler because why not. Also added a field to allow mods that add additional player inventory space to publicly expose them. Reduce patch sizes Lazy initialization of the item handler for vanilla tiles. Minor formatting changes. Create a single vanilla chest item handler that will merge with adjacent chests when detected. Added hooks to reset the cached adjacent value when a block update is detected and when a chunk loads. Revert "Make InventoryPlayer implements IItemHandler because why not. Also added a field to allow mods that add additional player inventory space to publicly expose them." This reverts commit 306d4a37fd0e8c8a0754411c013b750dfe8e2c87. Fix furnace derp Replace double chest code with a simpler method. Vanilla wrappers implement IItemHandlerModifiable (since they are modifiable) Minor code cleanups Add an onContentsChanged() and onLoad() callback methods.to the default implementation. Add slot as a parameter in the callback method. Change IItemHandlerModifiable.setStackInSlot() to void, and added a note about not being intended for cross-mod use. Improve ItemStackHandler handling of errored NBT. Make the stacks array protected. Fix a lot of derps in SlotItemHandler. Fix derp in ItemStackHandler Clarify comments on IItemHandler ItemStackHandler no longer caches the stack array in local variable. Clean up the Chests code to make intentions clearer Vanilla hoppers have their cooldown activated when an item is inserted. Made this behavior part of an item handler (rather than the insertion code) Fix mistake in ItemStackHandler More documentation of potential edge cases in getStackInSlot() Make limit checking more resiliant. |
||
---|---|---|
gradle/wrapper | ||
jsons | ||
mdk | ||
patches/minecraft/net/minecraft | ||
src | ||
.gitattributes | ||
.gitignore | ||
build.gradle | ||
CONTRIBUTING.md | ||
CREDITS-fml.txt | ||
gradlew | ||
gradlew.bat | ||
icon.ico | ||
l4jManifest.xml | ||
LICENSE-fml.txt | ||
MinecraftForge-Credits.txt | ||
MinecraftForge-License.txt | ||
Paulscode IBXM Library License.txt | ||
Paulscode SoundSystem CodecIBXM License.txt | ||
README.txt | ||
settings.gradle |
*** HOW TO INSTALL *** For Mod Users: Download the latest installer from http://files.minecraftforge.net and follow instructions given by the installer. For Mod Devs: Download the latest Forge source distribution from http://files.minecraftforge.net and unzip it to a folder. Open a command prompt, navigate to the directory where you unzipped the Forge sources, and run: If you have Gradle: gradle setupDevWorkspace If you DO NOT have Gradle installed: Windows: ./gradlew.bat setupDevWorkspace MacOS/Linux: ./gradlew setupDevWorkspace If you wish to use the Eclipse IDE, run gradle eclipse instead of gradle setupDevWorkspace, or install the Gradle plugin for Eclipse and import the Forge source folder as a Gradle project. To get the decompiled classes: If you have Gradle: gradle setupDecompWorkspace If you DO NOT have Gradle installed: Windows: ./gradlew.bat setupDecompWorkspace MacOS/Linux: ./gradlew setupDecompWorkspace For Contributors: (Note: This assumes you have Gradle installed. If you don't, use ./gradlew(.bat) instead of gradle. Clone this repository to a folder. Open a command prompt and navigate to the folder where you cloned this repo. Run gradle setupForge to setup your development environment. To use Eclipse, point your Eclipse workspace at the eclipse folder inside the repo. Requirements (for both mod devs and contributors): You must have a JDK installed and accessible. If you do not wish to use the gradle wrapper, you can install Gradle from http://www.gradle.org/ .