Package com.loohp.limbo.utils
Class InventoryClickUtils
java.lang.Object
com.loohp.limbo.utils.InventoryClickUtils
-
Nested Class Summary
Nested Classes -
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionstatic boolean
canItemQuickReplace
(InventoryView view, int slot, ItemStack itemstack, boolean flag) static int
getQuickcraftHeader
(int i) static int
getQuickcraftMask
(int i, int j) static ItemStack
getQuickCraftSlotCount
(Set<Integer> set, int i, ItemStack itemstack, int j) static int
getQuickcraftType
(int i) static void
handle
(Player player, org.geysermc.mcprotocollib.protocol.packet.ingame.serverbound.inventory.ServerboundContainerClickPacket packetplayinwindowclick) static boolean
isValidQuickcraftType
(int i, Player player)
-
Constructor Details
-
InventoryClickUtils
public InventoryClickUtils()
-
-
Method Details
-
handle
public static void handle(Player player, org.geysermc.mcprotocollib.protocol.packet.ingame.serverbound.inventory.ServerboundContainerClickPacket packetplayinwindowclick) -
getQuickcraftType
public static int getQuickcraftType(int i) -
getQuickcraftHeader
public static int getQuickcraftHeader(int i) -
getQuickcraftMask
public static int getQuickcraftMask(int i, int j) -
isValidQuickcraftType
-
canItemQuickReplace
public static boolean canItemQuickReplace(InventoryView view, int slot, ItemStack itemstack, boolean flag) -
getQuickCraftSlotCount
-