public class BasicContainer
extends net.minecraft.inventory.container.Container
| Constructor and Description |
|---|
BasicContainer(net.minecraft.inventory.container.ContainerType type,
int id) |
BasicContainer(net.minecraft.inventory.container.ContainerType type,
int id,
IAssetProvider assetProvider) |
BasicContainer(int id,
net.minecraft.entity.player.PlayerInventory inventory,
net.minecraft.network.PacketBuffer buffer) |
| Modifier and Type | Method and Description |
|---|---|
void |
addExtraSlots() |
boolean |
canInteractWith(net.minecraft.entity.player.PlayerEntity playerIn) |
IAssetProvider |
getAssetProvider() |
net.minecraft.item.ItemStack |
transferStackInSlot(net.minecraft.entity.player.PlayerEntity player,
int index) |
addListener, 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 BasicContainer(int id,
net.minecraft.entity.player.PlayerInventory inventory,
net.minecraft.network.PacketBuffer buffer)
public BasicContainer(net.minecraft.inventory.container.ContainerType type,
int id)
public BasicContainer(net.minecraft.inventory.container.ContainerType type,
int id,
IAssetProvider assetProvider)
public boolean canInteractWith(net.minecraft.entity.player.PlayerEntity playerIn)
canInteractWith in class net.minecraft.inventory.container.Containerpublic net.minecraft.item.ItemStack transferStackInSlot(net.minecraft.entity.player.PlayerEntity player,
int index)
transferStackInSlot in class net.minecraft.inventory.container.Containerpublic IAssetProvider getAssetProvider()
public void addExtraSlots()