Commit Graph

93 Commits

Author SHA1 Message Date
alexbegt 5eee1e224c Update to the latest forge, fix issues with the dirt chest book not functioning correctly and fix the inventory item not using the correct chest model. 2019-01-09 20:34:14 -05:00
alexbegt 49a097283a Fix up some issues with Build.gradle, Clean up code and switch to registry events for adding blocks and items. 2019-01-08 00:09:26 -05:00
alexbegt 37b34bfc02 Format source code 2019-01-06 16:32:51 -05:00
alexbegt 402bd8f5f7 Begin updating Iron Chests to 1.13, Chests cannot be opened yet but are visible in game. 2019-01-06 16:19:30 -05:00
alexbegt e3130b3e32 Delete old source to start on 1.13 2018-12-22 15:12:58 -05:00
alexbegt 2db43e58c6 Fix registering TESR's while the class is null. Closes #156 2018-12-19 19:31:59 -05:00
alexbegt 379f2e92c7 Fix crash related to inserting items with conduits/ducts. Closes #151 2018-10-09 08:36:29 -04:00
alexbegt d4fc2424b2 Hopefully fix the disappearing issue with the chests. Closes #142 2018-10-04 23:12:34 -04:00
alexbegt ba6bf6831f Make sure the Shift never goes past the max value. Closes #130 2018-10-04 23:11:54 -04:00
alexbegt c9c1c30d3b Check for valid metadata before looking up name. Closes #135 2018-10-04 23:08:41 -04:00
alexbegt 81c12fe224 Add a configuration option to allow the user to disable adding the crafting recipes for the Shulker Boxes, and to disable adding Shulker Boxes to the Creative Menu. (JEI support soon?)
Add support for OreDict Items added by CraftTweaker

Closes #129

Closes #136
2018-06-16 23:22:57 -04:00
Joseph C. Sible 08cf8e0bb2 Fix #131 (#132) 2018-06-16 21:06:41 -04:00
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
alexbegt 5a9c3d77df Run DataFixer on the Chest's and Shulker Boxes, and fix the conflicting recipes reguarding the shulker upgrades. Closes #115, #117 2018-02-17 12:38:11 -05:00
alexbegt 0468b6d73b Update Iron Chests to 1.12.2. 2017-09-27 22:37:10 -04:00
alexbegt 5aaf413b35 Remove a little mistake I made. 2017-06-28 15:52:25 -04:00
alexbegt 9aecbfbf46 Clean up some code including how we register Blocks/Items, and fix issues getting the item from the registry. 2017-06-28 15:23:34 -04:00
alexbegt 282505120e Fix crash related to loading TileEntitySpecialRenderer on server side. Closes #103 2017-06-28 12:05:53 -04:00
alexbegt 7900ab35b5 Update Iron Chests to Forge 14.21.0.2359. 2017-06-24 13:34:58 -04:00
alexbegt 69cedbf38b Fix an issue regarding a change mapping name causing the build to fail. 2017-06-21 13:46:41 -04:00
alexbegt 1efea0cc6b Require Forge Version 14.21.0.2343 which fixes the crash regarding recipes. Closes #98 2017-06-21 13:43:58 -04:00
alexbegt b28ad34b43 Update all recipes from Iron Chests to the new way of doing them for 1.12, Even changing the color of the shulker box works! 2017-06-17 18:05:07 -04:00
alexbegt 416c4e11c5 Update Iron Chest's to 1.12! 2017-06-11 13:20:07 -04:00
alexbegt f2c6dc965a I have no idea what git is doing... I pushed these classes before but it's saying I didn't. 2017-06-11 12:53:14 -04:00
alexbegt 0ce5748dae Add Iron Shulker Boxes, which function just like regular shulker boxes but with all the extra features the chest variants have. This version of the mod also has a reorganized code package (still in cpw.mods.ironchest) and resources have been moved around. 2017-06-11 12:50:47 -04:00
alexbegt 82f9d7cf8f Fix Crystal Chest's crashing clients with ArrayIndexOutOfBoundsException due to two different items having two 64 stacks in the chest, also Items will now render if there is more than one item stack, but only one will be rendered. (Before it wouldn't render any items being in the chest) Closes #90 2017-05-17 15:12:21 -04:00
alexbegt 9515e682ef Update Iron Chests to 1.11.2! 2017-03-05 12:55:00 -05:00
alexbegt e5e601a1b8 Fix IronChest's version check + Fix the dirt chest's book. 2016-11-19 13:03:30 -05:00
alexbegt 5720fa2065 Update mappings for Iron Chests, and rename some parameters. 2016-11-18 22:33:35 -05:00
alexbegt ea5f84785d Remove dead code that has been commended out. 2016-11-18 10:28:27 -05:00
alexbegt e6fb331bd9 Add JEI to the dev environment, rename the items + blocks to match vanilla formats of no capital letters and to include underscores, and fix the crystal chest not rendering items in it. 2016-11-18 10:26:10 -05:00
alexbegt 9fe6c6912a Work on the 1.11 update more, some is still buggy but nearly complete. 2016-11-17 16:39:07 -05:00
Progwml6 a43c7259c3 start of 1.11 update 2016-11-16 10:58:31 -05:00
AfterRebelion 6ce296701c Make modid lowercase
To comply with
45b299ce06
2016-08-06 18:22:04 +02:00
alexbegt cac7322894 Add support for loot tables, fix #76. 2016-07-03 19:56:39 -04:00
alexbegt 7c8d3986e7 Switch back to the way 1.7.10 did chest upgrades, you do not have to hold shift to upgrade them now, but holding shift will still open the chest after upgrading it. Should fix #75 somewhat. 2016-07-03 14:39:21 -04:00
alexbegt cc78de2c6d Remove unneeded Event Handler. 2016-06-30 23:01:17 -04:00
alexbegt 3321ba2c1b Add support for 1.10! 2016-06-23 16:13:31 -04:00
alexbegt efd5046037 This might fix the crashes that happen on death. 2016-06-13 19:06:32 -04:00
alexbegt 4d145cd90b Ocelots now sit on top of IronChests again! 2016-06-11 22:36:20 -04:00
alexbegt bb8cb4ff98 Fix #72, Chests now work while as a spectator. 2016-06-11 20:51:23 -04:00
alexbegt 5d607a0d15 Fix #71, Chest orientation will now stay the same after a Chunk Unload. 2016-06-08 15:59:44 -04:00
alexbegt 6e4188fe62 This should fix #69, I couldn't recreate the crash so it needs to be tested. 2016-05-30 13:43:45 -04:00
alexbegt 566efca357 Update Forge required and minecraft version. 2016-05-19 18:21:01 -04:00
alexbegt 644b16903b Update to 1.9.4 2016-05-19 18:17:38 -04:00
alexbegt 94aa1671d5 Fix some bugs from the PR. 2016-05-19 18:01:50 -04:00
LatvianModder 158ad6d334 Fixed missing copperIronUpgrade texture and ItemChestChanger breaking tile 2016-05-19 13:49:36 +03:00
LatvianModder 96ecbabcb4 Added blockstates, fixed block particles, item localizations and item rotation 2016-05-19 13:42:14 +03:00
LatvianModder 8fcccc40ee Absolutely barbaric rewrite 2016-05-19 02:47:25 +03:00
Alexander d0b721e332 Fix some formatter issues and update forge and mappings. 2016-04-21 14:29:22 -04:00