public class SlotFilterFacing
extends net.minecraft.inventory.Slot
| Constructor and Description |
|---|
SlotFilterFacing(net.minecraft.inventory.IInventory inventoryIn,
int index,
int xPosition,
int yPosition) |
| Modifier and Type | Method and Description |
|---|---|
net.minecraft.util.ResourceLocation |
getBackgroundLocation() |
net.minecraft.client.renderer.texture.TextureAtlasSprite |
getBackgroundSprite() |
boolean |
isItemValid(net.minecraft.item.ItemStack stack) |
canTakeStack, decrStackSize, getBackgroundMap, getHasStack, getItemStackLimit, getSlotIndex, getSlotStackLimit, getSlotTexture, getStack, isEnabled, isHere, isSameInventory, onCrafting, onCrafting, onSlotChange, onSlotChanged, onSwapCraft, onTake, putStack, setBackgroundLocation, setBackgroundNamepublic SlotFilterFacing(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.Slotpublic net.minecraft.util.ResourceLocation getBackgroundLocation()
getBackgroundLocation in class net.minecraft.inventory.Slotpublic net.minecraft.client.renderer.texture.TextureAtlasSprite getBackgroundSprite()
getBackgroundSprite in class net.minecraft.inventory.Slot