Is holding sword

This event will check if the player is holding a sword.

public static boolean isHoldingSword()

Is holding Weapon

This event will check if the player is holding a weapon.

public static boolean isHoldingWeapon()

Is main inventory full

This event will check if the player’s main inventory is full.

public static boolean isMainInventoryFull()

Get first empty slot

This event will get the first empty slot of the player.

public static int getFirstEmptySlot()

Get tool slot

This event will get the tool slot of the player.

public static int getToolSlot(final BlockState blockState)

Get block slot

This event will get the block slot of the player.

public static int getBlockSlot()

Get block count

This event will get the block count of the player.

public static int getBlockCount()

Is good block

This event will check if the block is a good block.

public static boolean isGoodBlock(final Block block)

Is good potion

This event will check if the potion is a good potion.

public static boolean isGoodPotion(final ItemStack itemStack)

Should keep item

This event will check if the item should be kept.

public static boolean shouldKeepItem(final ItemStack itemStack)

Drop

This event will drop an item.

public static void drop(final int slot)

Click

This event will click.

public static void click(final int slot, final int mouseButton)

Swap

This event will swap two slots.

public static void swap(final int originalSlot, final int newSlot)