public class BasicInventoryContainer extends BasicContainer implements IDisableableContainer
| Constructor and Description |
|---|
BasicInventoryContainer(net.minecraft.inventory.container.ContainerType type,
net.minecraft.entity.player.PlayerInventory inventory,
int id) |
BasicInventoryContainer(net.minecraft.inventory.container.ContainerType type,
net.minecraft.entity.player.PlayerInventory inventory,
int id,
IAssetProvider assetProvider) |
BasicInventoryContainer(int id,
net.minecraft.entity.player.PlayerInventory inventory,
net.minecraft.network.PacketBuffer buffer) |
| Modifier and Type | Method and Description |
|---|---|
void |
addHotbarSlots() |
void |
addPlayerChestInventory() |
net.minecraft.entity.player.PlayerInventory |
getPlayerInventory() |
void |
initInventory() |
boolean |
isDisabled() |
void |
setDisabled(boolean disabled) |
addExtraSlots, canInteractWith, 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, slotClick, trackInt, trackIntArray, updateProgressBarpublic BasicInventoryContainer(int id,
net.minecraft.entity.player.PlayerInventory inventory,
net.minecraft.network.PacketBuffer buffer)
public BasicInventoryContainer(net.minecraft.inventory.container.ContainerType type,
net.minecraft.entity.player.PlayerInventory inventory,
int id)
public BasicInventoryContainer(net.minecraft.inventory.container.ContainerType type,
net.minecraft.entity.player.PlayerInventory inventory,
int id,
IAssetProvider assetProvider)
public void initInventory()
public void addPlayerChestInventory()
public void addHotbarSlots()
public net.minecraft.entity.player.PlayerInventory getPlayerInventory()
public boolean isDisabled()
isDisabled in interface IDisableableContainerpublic void setDisabled(boolean disabled)
setDisabled in interface IDisableableContainer