mirror of
https://github.com/MinecraftForge/MinecraftForge.git
synced 2026-11-16 18:45:09 +00:00
Expose IItemHandler on vanilla entities
This commit is contained in:
1 parent
558348125d
commit
30db41be9a
8 files changed
+164
-9
No files matched your search
@@ -20,6 +20,11 @@ public class ItemStackHandler implements IItemHandler, IItemHandlerModifiable, I
|
||||
stacks = new ItemStack[size];
|
||||
}
|
||||
|
||||
public ItemStackHandler(ItemStack[] stacks)
|
||||
{
|
||||
this.stacks = stacks;
|
||||
}
|
||||
|
||||
public void setSize(int size)
|
||||
{
|
||||
stacks = new ItemStack[size];
|
||||
|
||||
Reference in new issue
Block a user