Want to play Minecraft using only one slot? Slotted let's you do just that! Just add the add-on to your world and slotted will take care of your inventory, NO COMMAND BLOCKS REQUIRED!
Select version for changelog:
Changelog
Added function slotted/unlock_hotbar for people who enjoy hotbar only gameplay!
masochism 100
https://feedback.minecraft.net/hc/en-us/articles/360052592091-Minecraft-1-16-100-Bedrock-
/give @s apple 1 0 {"item_lock": {"mode": "lock_in_inventory"}}
/give @s apple 1 0 {"item_lock": {"mode": "lock_in_slot"}}
/give @s apple 1 0 {"keep_on_death": {}}