· /execute @a ~ ~ ~ detect ~ ~1 ~ diamond_block 0 setspawn @p The second way is more testing for blocks This command tests, if a player is standing on a diamond block, and if one do, he'll get a checkpoint on the block Because the execute command defines the player, who is executing, you can set @p in the 2nd command, because the player, whoJust drop the jars on to the correct folders and you are good to go!Condition for "/execute" command While the "execute" command contains many helpful conditions when making maps/datapacks, the condition "else" should be added to make it so players can easily run a command if a certain criteria isn't met An example of this would be "/execute as @e tag=player1,nbt= {Scores= {Hello=1} at @s if block ~ ~1 ~
How To Make A Command Block Teleporter 4 Steps Instructables
Minecraft execute command on player death