public class ShulkerBoxSlot extends Slot
inventory, slotNumber, xPos, yPos| コンストラクタと説明 |
|---|
ShulkerBoxSlot(IInventory inventoryIn,
int slotIndexIn,
int xPosition,
int yPosition) |
| 修飾子とタイプ | メソッドと説明 |
|---|---|
boolean |
isItemValid(ItemStack stack)
Check if the stack is allowed to be placed in this slot, used for armor slots as well as furnace fuel.
|
canTakeStack, decrStackSize, func_225517_c_, getHasStack, getItemStackLimit, getSlotIndex, getSlotStackLimit, getStack, isEnabled, isSameInventory, onCrafting, onCrafting, onSlotChange, onSlotChanged, onSwapCraft, onTake, putStack, setBackgroundpublic ShulkerBoxSlot(IInventory inventoryIn, int slotIndexIn, int xPosition, int yPosition)
public boolean isItemValid(ItemStack stack)
isItemValid クラス内 Slot