3

Make a SPECIFIC block kill you in Minecraftbuild

3 emeralds4 replies66 views
crazelarious started 10/25/2020 2:47 pm
Rochy replied 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 avatar
crazelarious
Level 2 : Apprentice Explorer
3

4 replies

2
10/29/2020 5:52 pm
Level 13 : Journeyman Miner
Rochy
that is what a plugin is for
3
10/25/2020 2:57 pm
Level 57 : Grandmaster Cyborg
Bertiecrafter
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 =)
2
10/25/2020 3:03 pm
Level 2 : Apprentice Explorer
crazelarious
Omg thank you so much!
It worked! :D
2
10/25/2020 2:53 pm
Level 15 : Journeyman Lemon
MGSuco
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
Planet Minecraft Logo

Website

© 2010 - 2020
www.planetminecraft.com

Welcome