public class SlotFiltered extends SlotWatched
| Constructor and Description |
|---|
SlotFiltered(T inventory,
int slotIndex,
int xPos,
int yPos) |
| Modifier and Type | Method and Description |
|---|---|
net.minecraft.client.renderer.texture.TextureAtlasSprite |
getBackgroundSprite() |
boolean |
isItemValid(net.minecraft.item.ItemStack itemstack) |
SlotFiltered |
setBackgroundTexture(java.lang.String backgroundTexture) |
SlotFiltered |
setBlockedTexture(java.lang.String ident) |
onSlotChanged, onTake, setChangeWatcher, setPickupWatcherblockShift, canAdjustPhantom, canShift, canTakeStack, getSlotStackLimit, getToolTip, isMouseOver, isPhantom, isToolTipVisible, putStack, setCanAdjustPhantom, setPhantom, setStackLimit, setToolTipsdecrStackSize, getBackgroundLocation, getBackgroundMap, getHasStack, getItemStackLimit, getSlotIndex, getSlotTexture, getStack, isEnabled, isHere, isSameInventory, onCrafting, onCrafting, onSlotChange, onSwapCraft, setBackgroundLocation, setBackgroundNameclone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, waitisRelativeToGuipublic boolean isItemValid(net.minecraft.item.ItemStack itemstack)
isItemValid in class net.minecraft.inventory.Slotpublic SlotFiltered setBlockedTexture(java.lang.String ident)
public SlotFiltered setBackgroundTexture(java.lang.String backgroundTexture)
@Nullable public net.minecraft.client.renderer.texture.TextureAtlasSprite getBackgroundSprite()
getBackgroundSprite in class net.minecraft.inventory.Slot