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 booleancanItemQuickReplace(InventoryView view, int slot, ItemStack itemstack, boolean flag) static intgetQuickcraftHeader(int i) static intgetQuickcraftMask(int i, int j) static ItemStackgetQuickCraftSlotCount(Set<Integer> set, int i, ItemStack itemstack, int j) static intgetQuickcraftType(int i) static voidhandle(Player player, org.geysermc.mcprotocollib.protocol.packet.ingame.serverbound.inventory.ServerboundContainerClickPacket packetplayinwindowclick) static booleanisValidQuickcraftType(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
-