public class ContainerBase
extends net.minecraft.inventory.Container
| Modifier and Type | Field and Description |
|---|---|
protected java.util.List<SlotRecipe> |
recipeSlots |
| Constructor and Description |
|---|
ContainerBase() |
| Modifier and Type | Method and Description |
|---|---|
protected net.minecraft.inventory.Slot |
addSlotToContainer(net.minecraft.inventory.Slot slotIn) |
boolean |
canInteractWith(net.minecraft.entity.player.EntityPlayer player) |
java.util.List<SlotRecipe> |
getRecipeSlots() |
net.minecraft.item.ItemStack |
slotClick(int i,
int mousebtn,
net.minecraft.inventory.ClickType clickTypeIn,
net.minecraft.entity.player.EntityPlayer player) |
net.minecraft.item.ItemStack |
transferStackInSlot(net.minecraft.entity.player.EntityPlayer playerIn,
int index) |
addListener, calcRedstone, calcRedstoneFromInventory, canAddItemToSlot, canDragIntoSlot, canMergeSlot, clearContainer, computeStackSize, detectAndSendChanges, enchantItem, extractDragMode, getCanCraft, getDragEvent, getInventory, getNextTransactionID, getQuickcraftMask, getSlot, getSlotFromInventory, isValidDragMode, mergeItemStack, onContainerClosed, onCraftMatrixChanged, putStackInSlot, removeListener, resetDrag, setAll, setCanCraft, slotChangedCraftingGrid, updateProgressBarprotected java.util.List<SlotRecipe> recipeSlots
public boolean canInteractWith(net.minecraft.entity.player.EntityPlayer player)
canInteractWith in class net.minecraft.inventory.Container@Nullable
public net.minecraft.item.ItemStack slotClick(int i,
int mousebtn,
net.minecraft.inventory.ClickType clickTypeIn,
net.minecraft.entity.player.EntityPlayer player)
slotClick in class net.minecraft.inventory.Container@Nullable
public net.minecraft.item.ItemStack transferStackInSlot(net.minecraft.entity.player.EntityPlayer playerIn,
int index)
transferStackInSlot in class net.minecraft.inventory.Containerpublic java.util.List<SlotRecipe> getRecipeSlots()
protected net.minecraft.inventory.Slot addSlotToContainer(net.minecraft.inventory.Slot slotIn)
addSlotToContainer in class net.minecraft.inventory.Container