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 -
Method Summary
Modifier and TypeMethodDescriptionabstract voidslotClick(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
-
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)
-