Search results

  1. Sophed

    Solved Clearing crafting slots/item on cursor to prevent inventory exploit

    Updating this because I had to solve this same issue again recently public static void clearCraftingGrid(Player player) { if (player.getOpenInventory().getTopInventory().getType() != InventoryType.CRAFTING) return; if (player.getOpenInventory().getTopInventory().getSize() > 5) return...
  2. Sophed

    Solved Clearing crafting slots/item on cursor to prevent inventory exploit

    How can I clear the player's crafting slots and item on cursor to prevent them from having specific items in places they shouldn't? In the example below I use a common hack called 'Inventory Tweaks' (sometimes known as extra carry or inventory) which allows you to store items in your crafting...