public class SlotDrawBridgeChangeModel extends SlotDrawBridge
drawbridge
Constructor and Description |
---|
SlotDrawBridgeChangeModel(TileEntityDrawBridge drawbridge,
int xPosition,
int yPosition) |
Modifier and Type | Method and Description |
---|---|
boolean |
isItemValid(net.minecraft.item.ItemStack stack) |
void |
putStack(net.minecraft.item.ItemStack stack) |
boolean |
shouldCheckExtended() |
canTakeStack
decrStackSize, getBackgroundLocation, getBackgroundMap, getBackgroundSprite, getHasStack, getItemStackLimit, getSlotIndex, getSlotStackLimit, getSlotTexture, getStack, isEnabled, isHere, isSameInventory, onCrafting, onCrafting, onSlotChange, onSlotChanged, onSwapCraft, onTake, setBackgroundLocation, setBackgroundName
public SlotDrawBridgeChangeModel(TileEntityDrawBridge drawbridge, int xPosition, int yPosition)
public void putStack(net.minecraft.item.ItemStack stack)
putStack
in class net.minecraft.inventory.Slot
public boolean isItemValid(net.minecraft.item.ItemStack stack)
isItemValid
in class SlotDrawBridge
public boolean shouldCheckExtended()
shouldCheckExtended
in class SlotDrawBridge