public class SlotRecipe
extends net.minecraft.inventory.Slot
Constructor and Description |
---|
SlotRecipe(net.minecraft.inventory.IInventory inventoryIn,
int index,
int xPosition,
int yPosition) |
Modifier and Type | Method and Description |
---|---|
java.lang.String |
getItemString() |
java.util.Map<java.lang.String,java.lang.Integer> |
getProperties() |
java.util.Map<java.lang.String,java.lang.Boolean> |
getPropertyMap() |
int |
getSlotStackLimit() |
boolean |
isItemValid(net.minecraft.item.ItemStack stack) |
net.minecraft.item.ItemStack |
onTake(net.minecraft.entity.player.EntityPlayer playerIn,
net.minecraft.item.ItemStack stack) |
canTakeStack, decrStackSize, getBackgroundLocation, getBackgroundMap, getBackgroundSprite, getHasStack, getItemStackLimit, getSlotIndex, getSlotTexture, getStack, isEnabled, isHere, isSameInventory, onCrafting, onCrafting, onSlotChange, onSlotChanged, onSwapCraft, putStack, setBackgroundLocation, setBackgroundName
public SlotRecipe(net.minecraft.inventory.IInventory inventoryIn, int index, int xPosition, int yPosition)
public net.minecraft.item.ItemStack onTake(net.minecraft.entity.player.EntityPlayer playerIn, net.minecraft.item.ItemStack stack)
onTake
in class net.minecraft.inventory.Slot
public int getSlotStackLimit()
getSlotStackLimit
in class net.minecraft.inventory.Slot
public boolean isItemValid(@Nullable net.minecraft.item.ItemStack stack)
isItemValid
in class net.minecraft.inventory.Slot
public java.lang.String getItemString()
public java.util.Map<java.lang.String,java.lang.Boolean> getPropertyMap()
public java.util.Map<java.lang.String,java.lang.Integer> getProperties()