{"push_id":947561917,"size":2,"distinct_size":2,"ref":"refs/heads/master","head":"e9a86f27fbe7c9b31b29677d62b832ab162411bb","before":"d480ae53806e97b1258c8d463c750223282bd386","commits":[{"sha":"a1e41f5464e77e726b4ff082aed1f9f117d55832","author":{"email":"806e75e3baf104ac476454ffaedd59015dbb1fe4@gmail.com","name":"rwtema"},"message":"Add IItemHandler capability\n\nAdd the actual patches that I forgot.\n\nAdd simple implementations of IStorage and the factory methods.\n\nAdd ItemStackHandler. A simple IItemHandler implementaton.\n\nreturn nulls, not throw nulls.\n\nMove the vanilla wrappers to a separate class for now.\n\nMinor clean ups of VanillaWrapper code.\n\nInline static methods.\n\nAdd comments.\n\nMinor cleanup of code.\n\nRemove redundant size field and add a validate slot index method.\n\nMinor formatting issues.\n\nBreak early If stacksize to insert is 0.\n\nRemove setByte() methods.\n\nThrow exception if IItemHandler can't be modifyed in NBT loading.\n\nReplace event handler with patches\n\nAdd capability to mine cart inventory entities.\n\nChange formatting and registration of capability.\n\nMake InventoryPlayer implements IItemHandler because why not. Also added a field to allow mods that add additional player inventory space to publicly expose them.\n\nReduce patch sizes\n\nLazy initialization of the item handler for vanilla tiles.\n\nMinor formatting changes.\n\nCreate 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.\n\nRevert \"Make InventoryPlayer implements IItemHandler because why not. Also added a field to allow mods that add additional player inventory space to publicly expose them.\"\n\nThis reverts commit 306d4a37fd0e8c8a0754411c013b750dfe8e2c87.\n\nFix furnace derp\n\nReplace double chest code with a simpler method.\n\nVanilla wrappers implement IItemHandlerModifiable (since they are modifiable)\n\nMinor code cleanups\n\nAdd an onContentsChanged() and onLoad() callback methods.to the default implementation.\n\nAdd slot as a parameter in the callback method.\n\nChange IItemHandlerModifiable.setStackInSlot() to void, and added a note about not being intended for cross-mod use.\n\nImprove ItemStackHandler handling of errored NBT.\n\nMake the stacks array protected.\n\nFix a lot of derps in SlotItemHandler.\n\nFix derp in ItemStackHandler\n\nClarify comments on IItemHandler\n\nItemStackHandler no longer caches the stack array in local variable.\n\nClean up the Chests code to make intentions clearer\n\nVanilla hoppers have their cooldown activated when an item is inserted. Made this behavior part of an item handler (rather than the insertion code)\n\nFix mistake in ItemStackHandler\n\nMore documentation of potential edge cases in getStackInSlot()\n\nMake limit checking more resiliant.","distinct":true,"url":"https://api.github.com/repos/MinecraftForge/MinecraftForge/commits/a1e41f5464e77e726b4ff082aed1f9f117d55832"},{"sha":"e9a86f27fbe7c9b31b29677d62b832ab162411bb","author":{"email":"9e25ac8689d04851686575ae97fb27a7eb2b0463@gmail.com","name":"LexManos"},"message":"Merge pull request #2385 from rwtema/master\n\nAdd IItemHandler capability","distinct":true,"url":"https://api.github.com/repos/MinecraftForge/MinecraftForge/commits/e9a86f27fbe7c9b31b29677d62b832ab162411bb"}]}