public class PhantomSlot extends net.minecraftforge.items.SlotItemHandler implements IPhantomSlot
Constructor and Description |
---|
PhantomSlot(net.minecraftforge.items.IItemHandler itemHandler,
int index,
int xPosition,
int yPosition)
Creates a phantom slot
|
Modifier and Type | Method and Description |
---|---|
boolean |
canAdjust()
Can slot change
|
boolean |
canTakeStack(net.minecraft.entity.player.PlayerEntity playerIn)
Slot *
|
decrStackSize, getItemHandler, getItemStackLimit, getSlotStackLimit, getStack, isItemValid, onSlotChange, putStack
getBackgroundLocation, getBackgroundMap, getBackgroundSprite, getHasStack, getSlotIndex, getSlotTexture, isEnabled, isSameInventory, onCrafting, onCrafting, onSlotChanged, onSwapCraft, onTake, setBackgroundLocation, setBackgroundName
public PhantomSlot(net.minecraftforge.items.IItemHandler itemHandler, int index, int xPosition, int yPosition)
itemHandler
- The ItemHandler to manageindex
- The slot indexxPosition
- The slot x posyPosition
- The slot y pospublic boolean canTakeStack(net.minecraft.entity.player.PlayerEntity playerIn)
canTakeStack
in class net.minecraftforge.items.SlotItemHandler
public boolean canAdjust()
canAdjust
in interface IPhantomSlot