Minecraft immortality?

Fo
4

Hi

if man survival plays in Minecraft, there's death who protects you from death and is consumed (except if you fall into the hole or something like that)

Question, is there a command for the command block to create an "infinite" death or something, if a player has that particular death that if he is killed that death remains?

so becomes immortal through a certain object?

Ca

3 possibilities:

1. 64 stack totems

2. Totem that is given back directly after each use

3. Something too complicated for me

Ma

There's no object that is not consumed when dying. Accordingly, infinite totems would also use up the inventory space.

gl

Only works with plugins

Ha

Yes that works, but you have to find out the cmd so that a cmd block checks whether you have a totem in your hand and if that is not the case it gives you one.