Class PhantomSlot
java.lang.Object
net.minecraft.world.inventory.Slot
net.minecraftforge.items.SlotItemHandler
me.desht.pneumaticcraft.common.inventory.slot.PhantomSlot
- All Implemented Interfaces:
IPhantomSlot
- Direct Known Subclasses:
UnstackablePhantomSlot
-
Field Summary
Fields inherited from class net.minecraft.world.inventory.Slot
container, x, y -
Constructor Summary
ConstructorsConstructorDescriptionPhantomSlot(net.minecraftforge.items.IItemHandler handler, int index, int x, int y) -
Method Summary
Methods inherited from class net.minecraftforge.items.SlotItemHandler
getItem, getItemHandler, getMaxStackSize, getMaxStackSize, initialize, mayPlace, onQuickCraft, remove, setMethods inherited from class net.minecraft.world.inventory.Slot
allowModification, checkTakeAchievements, getContainerSlot, getNoItemIcon, getSlotIndex, hasItem, isActive, isHighlightable, isSameInventory, onQuickCraft, onSwapCraft, onTake, safeInsert, safeInsert, safeTake, setBackground, setByPlayer, setChanged, tryRemove
-
Constructor Details
-
PhantomSlot
public PhantomSlot(net.minecraftforge.items.IItemHandler handler, int index, int x, int y)
-
-
Method Details
-
mayPickup
public boolean mayPickup(net.minecraft.world.entity.player.Player par1EntityPlayer) - Overrides:
mayPickupin classnet.minecraftforge.items.SlotItemHandler
-
canAdjust
public boolean canAdjust()- Specified by:
canAdjustin interfaceIPhantomSlot
-