Class SlotHandleClicks

java.lang.Object
net.minecraft.world.inventory.Slot
codechicken.lib.inventory.container.SlotHandleClicks
Direct Known Subclasses:
SlotDummy

public abstract class SlotHandleClicks extends net.minecraft.world.inventory.Slot
  • Field Summary

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

    container, index, x, y
  • Constructor Summary

    Constructors
    Constructor
    Description
    SlotHandleClicks(net.minecraft.world.Container inv, int slot, int x, int y)
     
  • Method Summary

    Modifier and Type
    Method
    Description
    abstract void
    slotClick(ContainerExtended container, net.minecraft.world.entity.player.Player player, int button, net.minecraft.world.inventory.ClickType clickType)
     

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

    allowModification, checkTakeAchievements, getContainerSlot, getItem, getMaxStackSize, getMaxStackSize, getNoItemIcon, getSlotIndex, hasItem, isActive, isFake, isHighlightable, isSameInventory, mayPickup, mayPlace, onQuickCraft, onQuickCraft, onSwapCraft, onTake, remove, safeInsert, safeInsert, safeTake, set, setBackground, setByPlayer, setByPlayer, setChanged, tryRemove

    Methods inherited from class java.lang.Object

    clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
  • Constructor Details

    • SlotHandleClicks

      public SlotHandleClicks(net.minecraft.world.Container inv, int slot, int x, int y)
  • Method Details

    • slotClick

      public abstract void slotClick(ContainerExtended container, net.minecraft.world.entity.player.Player player, int button, net.minecraft.world.inventory.ClickType clickType)