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

public class PhantomSlot extends net.minecraftforge.items.SlotItemHandler implements IPhantomSlot
  • Field Summary

    Fields inherited from class net.minecraft.world.inventory.Slot

    container, x, y
  • Constructor Summary

    Constructors
    Constructor
    Description
    PhantomSlot(net.minecraftforge.items.IItemHandler handler, int index, int x, int y)
     
  • Method Summary

    Modifier and Type
    Method
    Description
    boolean
     
    boolean
    mayPickup(net.minecraft.world.entity.player.Player par1EntityPlayer)
     

    Methods inherited from class net.minecraftforge.items.SlotItemHandler

    getItem, getItemHandler, getMaxStackSize, getMaxStackSize, mayPlace, onQuickCraft, remove, set

    Methods inherited from class net.minecraft.world.inventory.Slot

    allowModification, checkTakeAchievements, getContainerSlot, getNoItemIcon, getSlotIndex, hasItem, isActive, isSameInventory, onQuickCraft, onSwapCraft, onTake, safeInsert, safeInsert, safeTake, setBackground, setChanged, tryRemove

    Methods inherited from class java.lang.Object

    clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
  • 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:
      mayPickup in class net.minecraftforge.items.SlotItemHandler
    • canAdjust

      public boolean canAdjust()
      Specified by:
      canAdjust in interface IPhantomSlot