public class LockableInventoryBundle<T extends BasicTile & IComponentHarness> extends java.lang.Object implements IComponentBundle, net.minecraftforge.common.util.INBTSerializable<net.minecraft.nbt.CompoundNBT>
| Constructor and Description |
|---|
LockableInventoryBundle(T componentHarness,
InventoryComponent<T> inventory,
int lockPosX,
int lockPosY,
boolean isLocked) |
| Modifier and Type | Method and Description |
|---|---|
void |
accept(IComponentHandler... handler) |
void |
deserializeNBT(net.minecraft.nbt.CompoundNBT nbt) |
java.util.List<IFactory<? extends IContainerAddon>> |
getContainerAddons() |
InventoryComponent<T> |
getInventory() |
java.util.List<IFactory<? extends IScreenAddon>> |
getScreenAddons() |
net.minecraft.nbt.CompoundNBT |
serializeNBT() |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, waitcanInteractpublic LockableInventoryBundle(T componentHarness, InventoryComponent<T> inventory, int lockPosX, int lockPosY, boolean isLocked)
@Nonnull public java.util.List<IFactory<? extends IScreenAddon>> getScreenAddons()
getScreenAddons in interface IScreenAddonProviderpublic void accept(IComponentHandler... handler)
accept in interface IComponentBundle@Nonnull public java.util.List<IFactory<? extends IContainerAddon>> getContainerAddons()
getContainerAddons in interface IContainerAddonProviderpublic net.minecraft.nbt.CompoundNBT serializeNBT()
serializeNBT in interface net.minecraftforge.common.util.INBTSerializable<net.minecraft.nbt.CompoundNBT>public void deserializeNBT(net.minecraft.nbt.CompoundNBT nbt)
deserializeNBT in interface net.minecraftforge.common.util.INBTSerializable<net.minecraft.nbt.CompoundNBT>public InventoryComponent<T> getInventory()