public class DrawBridgeSlot
extends net.minecraft.inventory.container.Slot
Constructor and Description |
---|
DrawBridgeSlot(DrawBridgeTileEntity drawBridge,
net.minecraft.inventory.IInventory inventory,
int index,
int xPosition,
int yPosition) |
Modifier and Type | Method and Description |
---|---|
boolean |
canTakeStack(net.minecraft.entity.player.PlayerEntity player) |
boolean |
isItemValid(net.minecraft.item.ItemStack stack) |
public DrawBridgeSlot(DrawBridgeTileEntity drawBridge, net.minecraft.inventory.IInventory inventory, int index, int xPosition, int yPosition)
public boolean canTakeStack(net.minecraft.entity.player.PlayerEntity player)
canTakeStack
in class net.minecraft.inventory.container.Slot
public boolean isItemValid(net.minecraft.item.ItemStack stack)
isItemValid
in class net.minecraft.inventory.container.Slot