Class InventoryConstants

java.lang.Object
com.minecolonies.api.util.constant.InventoryConstants

public final class InventoryConstants extends Object
Some constants needed for the whole mod.
  • Field Details

    • INVENTORY_COLUMNS

      public static final int INVENTORY_COLUMNS
      Amount of columns in the player inventory.
      See Also:
    • PLAYER_INVENTORY_INITIAL_X_OFFSET

      public static final int PLAYER_INVENTORY_INITIAL_X_OFFSET
      Initial x-offset of the inventory slot.
      See Also:
    • PLAYER_INVENTORY_INITIAL_Y_OFFSET

      public static final int PLAYER_INVENTORY_INITIAL_Y_OFFSET
      Initial y-offset of the inventory slot.
      See Also:
    • PLAYER_INVENTORY_OFFSET_EACH

      public static final int PLAYER_INVENTORY_OFFSET_EACH
      Each offset of the inventory slots.
      See Also:
    • PLAYER_INVENTORY_HOTBAR_OFFSET

      public static final int PLAYER_INVENTORY_HOTBAR_OFFSET
      Initial y-offset of the inventory slots in the hotbar.
      See Also:
    • INVENTORY_ROWS

      public static final int INVENTORY_ROWS
      Amount of rows in the player inventory.
      See Also:
    • INVENTORY_BAR_SIZE

      public static final int INVENTORY_BAR_SIZE
      The size of the the inventory hotbar.
      See Also:
    • X_OFFSET

      public static final int X_OFFSET
      X-Offset of the inventory slot in the GUI of the scarecrow.
      See Also:
    • Y_OFFSET

      public static final int Y_OFFSET
      Y-Offset of the inventory slot in the GUI of the scarecrow.
      See Also:
    • PLAYER_INVENTORY_INITIAL_Y_OFFSET_CRAFTING

      public static final int PLAYER_INVENTORY_INITIAL_Y_OFFSET_CRAFTING
      Initial y-offset of the inventory slot.
      See Also:
    • INVENTORY_OFFSET_EACH

      public static final int INVENTORY_OFFSET_EACH
      Each offset of the inventory slots.
      See Also:
    • PLAYER_INVENTORY_HOTBAR_OFFSET_CRAFTING

      public static final int PLAYER_INVENTORY_HOTBAR_OFFSET_CRAFTING
      Initial y-offset of the inventory slots in the hotbar.
      See Also:
    • X_CRAFT_RESULT

      public static final int X_CRAFT_RESULT
      The x position of the crafting result slot position.
      See Also:
    • Y_CRAFT_RESULT

      public static final int Y_CRAFT_RESULT
      The y position of the crafting result slot position.
      See Also:
    • X_OFFSET_CRAFTING

      public static final int X_OFFSET_CRAFTING
      The x offset of the crafting slot position.
      See Also:
    • Y_OFFSET_CRAFTING

      public static final int Y_OFFSET_CRAFTING
      The y offset of the crafting slot position.
      See Also:
    • CRAFTING_SLOTS

      public static final int CRAFTING_SLOTS
      Amount of slots in the crafting window.
      See Also:
    • FURNACE_SLOTS

      public static final int FURNACE_SLOTS
      Amount of slots in the crafting window.
      See Also:
    • ADDITIONAL_SLOTS

      public static final int ADDITIONAL_SLOTS
      Amount of slots in the crafting window.
      See Also:
    • HOTBAR_START

      public static final int HOTBAR_START
      Start slot of the player hotbar.
      See Also:
    • TOTAL_SLOTS

      public static final int TOTAL_SLOTS
      Total amount of slots in the GUI.
      See Also:
    • TOTAL_SLOTS_FURNACE

      public static final int TOTAL_SLOTS_FURNACE
      Total amount of slots in the furnace GUI.
      See Also: