public class BasicAddonContainer extends BasicInventoryContainer implements IObjectContainer, ILocatable
| Modifier and Type | Field and Description |
|---|---|
static net.minecraft.inventory.container.ContainerType<BasicAddonContainer> |
TYPE |
| Constructor and Description |
|---|
BasicAddonContainer(java.lang.Object provider,
LocatorInstance locatorInstance,
net.minecraft.inventory.container.ContainerType<?> containerType,
net.minecraft.util.IWorldPosCallable worldPosCallable,
net.minecraft.entity.player.PlayerInventory playerInventory,
int containerId) |
BasicAddonContainer(java.lang.Object provider,
LocatorInstance locatorInstance,
net.minecraft.util.IWorldPosCallable worldPosCallable,
net.minecraft.entity.player.PlayerInventory playerInventory,
int containerId) |
| Modifier and Type | Method and Description |
|---|---|
boolean |
canInteractWith(net.minecraft.entity.player.PlayerEntity playerIn) |
static BasicAddonContainer |
create(int id,
net.minecraft.entity.player.PlayerInventory inventory,
net.minecraft.network.PacketBuffer packetBuffer) |
LocatorInstance |
getLocatorInstance() |
java.lang.Object |
getObject() |
java.lang.Object |
getProvider() |
net.minecraft.item.ItemStack |
slotClick(int slotId,
int dragType,
net.minecraft.inventory.container.ClickType clickTypeIn,
net.minecraft.entity.player.PlayerEntity player) |
void |
update() |
addHotbarSlots, addPlayerChestInventory, getPlayerInventory, initInventory, isDisabled, setDisabledaddExtraSlots, getAssetProvider, transferStackInSlotaddListener, addSlot, areItemsAndTagsEqual, assertIntArraySize, assertInventorySize, calcRedstone, calcRedstoneFromInventory, canAddItemToSlot, canDragIntoSlot, canMergeSlot, clearContainer, computeStackSize, detectAndSendChanges, enchantItem, extractDragMode, getCanCraft, getDragEvent, getInventory, getNextTransactionID, getQuickcraftMask, getSlot, getType, isValidDragMode, isWithinUsableDistance, mergeItemStack, onContainerClosed, onCraftMatrixChanged, putStackInSlot, removeListener, resetDrag, setAll, setCanCraft, trackInt, trackIntArray, updateProgressBarpublic static net.minecraft.inventory.container.ContainerType<BasicAddonContainer> TYPE
public BasicAddonContainer(java.lang.Object provider,
LocatorInstance locatorInstance,
net.minecraft.util.IWorldPosCallable worldPosCallable,
net.minecraft.entity.player.PlayerInventory playerInventory,
int containerId)
public BasicAddonContainer(java.lang.Object provider,
LocatorInstance locatorInstance,
net.minecraft.inventory.container.ContainerType<?> containerType,
net.minecraft.util.IWorldPosCallable worldPosCallable,
net.minecraft.entity.player.PlayerInventory playerInventory,
int containerId)
public boolean canInteractWith(net.minecraft.entity.player.PlayerEntity playerIn)
canInteractWith in class BasicContainerpublic net.minecraft.item.ItemStack slotClick(int slotId,
int dragType,
net.minecraft.inventory.container.ClickType clickTypeIn,
net.minecraft.entity.player.PlayerEntity player)
slotClick in class net.minecraft.inventory.container.Containerpublic static BasicAddonContainer create(int id, net.minecraft.entity.player.PlayerInventory inventory, net.minecraft.network.PacketBuffer packetBuffer)
public java.lang.Object getProvider()
public java.lang.Object getObject()
getObject in interface IObjectContainerpublic LocatorInstance getLocatorInstance()
getLocatorInstance in interface ILocatablepublic void update()