Class InventoryConstants
java.lang.Object
com.minecolonies.api.util.constant.InventoryConstants
Some constants needed for the whole mod.
-
Field Summary
FieldsModifier and TypeFieldDescriptionstatic final intAmount of slots in the crafting window.static final intAmount of slots in the crafting window.static final intAmount of slots in the crafting window.static final intStart slot of the player hotbar.static final intThe size of the the inventory hotbar.static final intAmount of columns in the player inventory.static final intEach offset of the inventory slots.static final intAmount of rows in the player inventory.static final intInitial y-offset of the inventory slots in the hotbar.static final intInitial y-offset of the inventory slots in the hotbar.static final intInitial x-offset of the inventory slot.static final intInitial y-offset of the inventory slot.static final intInitial y-offset of the inventory slot.static final intEach offset of the inventory slots.static final intTotal amount of slots in the GUI.static final intTotal amount of slots in the furnace GUI.static final intThe x position of the crafting result slot position.static final intX-Offset of the inventory slot in the GUI of the scarecrow.static final intThe x offset of the crafting slot position.static final intThe y position of the crafting result slot position.static final intY-Offset of the inventory slot in the GUI of the scarecrow.static final intThe y offset of the crafting slot position. -
Method Summary
-
Field Details
-
INVENTORY_COLUMNS
public static final int INVENTORY_COLUMNSAmount of columns in the player inventory.- See Also:
-
PLAYER_INVENTORY_INITIAL_X_OFFSET
public static final int PLAYER_INVENTORY_INITIAL_X_OFFSETInitial x-offset of the inventory slot.- See Also:
-
PLAYER_INVENTORY_INITIAL_Y_OFFSET
public static final int PLAYER_INVENTORY_INITIAL_Y_OFFSETInitial y-offset of the inventory slot.- See Also:
-
PLAYER_INVENTORY_OFFSET_EACH
public static final int PLAYER_INVENTORY_OFFSET_EACHEach offset of the inventory slots.- See Also:
-
PLAYER_INVENTORY_HOTBAR_OFFSET
public static final int PLAYER_INVENTORY_HOTBAR_OFFSETInitial y-offset of the inventory slots in the hotbar.- See Also:
-
INVENTORY_ROWS
public static final int INVENTORY_ROWSAmount of rows in the player inventory.- See Also:
-
INVENTORY_BAR_SIZE
public static final int INVENTORY_BAR_SIZEThe size of the the inventory hotbar.- See Also:
-
X_OFFSET
public static final int X_OFFSETX-Offset of the inventory slot in the GUI of the scarecrow.- See Also:
-
Y_OFFSET
public static final int Y_OFFSETY-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_CRAFTINGInitial y-offset of the inventory slot.- See Also:
-
INVENTORY_OFFSET_EACH
public static final int INVENTORY_OFFSET_EACHEach offset of the inventory slots.- See Also:
-
PLAYER_INVENTORY_HOTBAR_OFFSET_CRAFTING
public static final int PLAYER_INVENTORY_HOTBAR_OFFSET_CRAFTINGInitial y-offset of the inventory slots in the hotbar.- See Also:
-
X_CRAFT_RESULT
public static final int X_CRAFT_RESULTThe x position of the crafting result slot position.- See Also:
-
Y_CRAFT_RESULT
public static final int Y_CRAFT_RESULTThe y position of the crafting result slot position.- See Also:
-
X_OFFSET_CRAFTING
public static final int X_OFFSET_CRAFTINGThe x offset of the crafting slot position.- See Also:
-
Y_OFFSET_CRAFTING
public static final int Y_OFFSET_CRAFTINGThe y offset of the crafting slot position.- See Also:
-
CRAFTING_SLOTS
public static final int CRAFTING_SLOTSAmount of slots in the crafting window.- See Also:
-
FURNACE_SLOTS
public static final int FURNACE_SLOTSAmount of slots in the crafting window.- See Also:
-
ADDITIONAL_SLOTS
public static final int ADDITIONAL_SLOTSAmount of slots in the crafting window.- See Also:
-
HOTBAR_START
public static final int HOTBAR_STARTStart slot of the player hotbar.- See Also:
-
TOTAL_SLOTS
public static final int TOTAL_SLOTSTotal amount of slots in the GUI.- See Also:
-
TOTAL_SLOTS_FURNACE
public static final int TOTAL_SLOTS_FURNACETotal amount of slots in the furnace GUI.- See Also:
-