3

Make a SPECIFIC block kill you in Minecraftbuild

crazelarious 10/25/20 2:47 pm
1.2k
10/29/2020 5:52 pm
I'm new to command blocks and don't know anything.
How do I make a specific block kill you if you step on it?

The map i'm making is Singleplayer.

Anyone? :3
Posted by
crazelarious
Level 6 : Apprentice Explorer
5

  Have something to say?

JoinSign in

4

Rochy
10/29/2020 5:52 pm
Level 17 : Journeyman Miner
that is what a plugin is for
2
Bertiecrafter
10/25/2020 2:57 pm
Level 72 : Legendary System
Give yourself a command block:
/give @s command_blockPut it down, open it and set it to Repeating, Unconditional, Always Active
Put in this:
/execute as @a[gamemode=survival] at @s if block ~ ~-1 ~ <put your block id here> run kill @sPress F3 + H in the game to show block ids underneath the names of blocks in the inventory.
Done, repeat for each block that should kill you =)
3
crazelarious
10/25/2020 3:03 pm
Level 6 : Apprentice Explorer
Omg thank you so much!
It worked! :D
2
char-png
10/25/2020 2:53 pm
Level 46 : Master Lemon
Im not good with cmd blocks but I guess there is a way to check if a player is on specific coordinates, but idk how to do that

and if there isnt you could use pressure plates
2

Welcome