Clone of IronChests, but for barrels!
Go to file
Joseph C. Sible 5cdce170c7 Don't send the entire NBT tag to the client (#133)
The only extra bit of NBT the client needs here is facing. If we send
everything, then the client will know about the loot table when there is one,
which will result in this crash:

java.lang.NullPointerException: Rendering screen
	at net.minecraft.tileentity.TileEntityLockableLoot.fillWithLoot(TileEntityLockableLoot.java:59)
	at cpw.mods.ironchest.common.tileentity.chest.TileEntityIronChest.getStackInSlot(TileEntityIronChest.java:138)
	at net.minecraft.inventory.Slot.getStack(Slot.java:81)
	at net.minecraft.client.gui.inventory.GuiContainer.drawSlot(GuiContainer.java:234)
	at net.minecraft.client.gui.inventory.GuiContainer.drawScreen(GuiContainer.java:116)
	at cpw.mods.ironchest.client.gui.chest.GUIChest.drawScreen(GUIChest.java:100)
	at net.minecraftforge.client.ForgeHooksClient.drawScreen(ForgeHooksClient.java:368)
	at net.minecraft.client.renderer.EntityRenderer.updateCameraAndRender(EntityRenderer.java:1177)
	at net.minecraft.client.Minecraft.runGameLoop(Minecraft.java:1207)
	at net.minecraft.client.Minecraft.run(Minecraft.java:441)
	at net.minecraft.client.main.Main.main(Main.java:118)
	at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
	at sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:62)
	at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:43)
	at java.lang.reflect.Method.invoke(Method.java:498)
	at net.minecraft.launchwrapper.Launch.launch(Launch.java:135)
	at net.minecraft.launchwrapper.Launch.main(Launch.java:28)
	at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
	at sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:62)
	at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:43)
	at java.lang.reflect.Method.invoke(Method.java:498)
	at net.minecraftforge.gradle.GradleStartCommon.launch(GradleStartCommon.java:97)
	at GradleStart.main(GradleStart.java:25)
2018-04-09 21:12:13 -04:00
gradle/wrapper Update to gradlewrapper 2.7, and refresh build.gradle for FG 2.1 2015-11-22 23:59:04 -05:00
src Don't send the entire NBT tag to the client (#133) 2018-04-09 21:12:13 -04:00
.gitignore Update IronChests to 1.9! 2016-03-21 12:44:27 -04:00
README.md Initial update to 1.8, not tested (it only compiles) with huge portions commented out (due to a lack of Forge) 2014-09-24 22:32:58 +10:00
build.gradle Update Iron Chests to 1.12.2. 2017-09-27 22:37:10 -04:00
gradlew Initial update to 1.8, not tested (it only compiles) with huge portions commented out (due to a lack of Forge) 2014-09-24 22:32:58 +10:00
gradlew.bat Initial update to 1.8, not tested (it only compiles) with huge portions commented out (due to a lack of Forge) 2014-09-24 22:32:58 +10:00

README.md

ironchest

Iron Chest minecraft mod

a GPL v3 licensed mod by cpw

Currently Maintained by ProgWML6

See http://files.minecraftforge.net/IronChests2/ for downloads