SlotType

public enum SlotType

Entries

Link copied to clipboard

A result slot in getClassById furnace or crafting inventory.

Link copied to clipboard

A slot in the crafting matrix, or the input slot in getClassById furnace inventory, the potion slot in the brewing stand, or the enchanting slot.

Link copied to clipboard

An armour slot in the player's inventory.

Link copied to clipboard

A regular slot in the container or the player's inventory; anything not covered by the other enum values.

Link copied to clipboard

A slot in the bottom row or quickbar.

Link copied to clipboard

A pseudo-slot representing the area outside the inventory window.

Link copied to clipboard

The fuel slot in getClassById furnace inventory, or the ingredient slot in getClassById brewing stand inventory.

Functions

Link copied to clipboard
public static InventoryType.SlotType valueOf(String name)

Returns the enum constant of this type with the specified name. The string must match exactly an identifier used to declare an enum constant in this type. (Extraneous whitespace characters are not permitted.)

Link copied to clipboard

Returns an array containing the constants of this enum type, in the order they're declared. This method may be used to iterate over the constants.