Skip to content

Slot ID

Provides the integer ID of a slot range that refers to a single slot.

Type ID: kaya:slot_id

Format

Field Type Default Description
slot Slot Range The ID of the slot to get the integer ID of.

Example

{
    "type": "kaya:slot_id",
    "slot": "player.crafting.0"
}

This example will provide the integer ID of the player.crafting.0 slot (which will be $500$.)

History

Minecraft Mod Changelog
1.21.5 0.1.0 Added the type.