I need a command with which a person's inventory can be deleted, but the person does not die. So far I have only been able to remove one specific item from the inventory, but not all at once.
I think / clean or / clear then name
/ clear name
I tried but then the person always died
What? XD
That goes with
/ clear Name Item number
to clear the whole inventory you take
/ clear name
Thank you! Do you happen to know a command so that nothing can be dismantled (and vice versa)?
Wtf what kind of mega bug is that? XD
Java Edition 1.13+:
/ gamemode adventure player
Bedrock Edition and Java Edition 1.12-:
/ gamemode 2 players
But you can still break down at Adventure?
No
I've tried it, unfortunately it doesn't work.
What exactly is wrong?
/ clear (name)