public class SlotReadonly
extends net.minecraft.inventory.Slot
Constructor and Description |
---|
SlotReadonly(net.minecraft.inventory.IInventory inventoryIn,
int index,
int xPosition,
int yPosition) |
Modifier and Type | Method and Description |
---|---|
boolean |
canTakeStack(net.minecraft.entity.player.EntityPlayer playerIn) |
boolean |
isItemValid(net.minecraft.item.ItemStack stack) |
canBeHovered, decrStackSize, func_190900_b, func_190901_a, getBackgroundLocation, getBackgroundMap, getBackgroundSprite, getHasStack, getItemStackLimit, getSlotIndex, getSlotStackLimit, getSlotTexture, getStack, isHere, isSameInventory, onCrafting, onCrafting, onSlotChange, onSlotChanged, putStack, setBackgroundLocation, setBackgroundName
public SlotReadonly(net.minecraft.inventory.IInventory inventoryIn, int index, int xPosition, int yPosition)
public boolean isItemValid(net.minecraft.item.ItemStack stack)
isItemValid
in class net.minecraft.inventory.Slot
public boolean canTakeStack(net.minecraft.entity.player.EntityPlayer playerIn)
canTakeStack
in class net.minecraft.inventory.Slot