support for inventory slot argument in commands - may need to justify extended inventory support (horses etc.)
gnembon opened this issue ยท 3 comments
Technically yes, it later remaps the slot to an int. But in the command it displays with fancy strings like hotbar.1
, inventory.25
, armor.chest
, enderchest.12
, weapon.offhand
, etc for players.
There is also names for containers, like container.37
, for villagers, like villager.6
, and then for horses there is horse.saddle
, horse.armor
and horse.chest
.
Yarn name: ItemSlotArgumentType
.