3

Make a SPECIFIC block kill you in Minecraftbuild

crazelarious's Avatar crazelarious10/25/20 2:47 pm
3 emeralds 757 4
10/29/2020 5:52 pm
Rochy's Avatar Rochy
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's Avatar
crazelarious
Level 6 : Apprentice Explorer
5

Create an account or sign in to comment.

4

2
10/29/2020 5:52 pm
Level 17 : Journeyman Miner
Rochy
Rochy's Avatar
that is what a plugin is for
3
10/25/2020 2:57 pm
Level 70 : Legendary Engineer
Bertiecrafter
Bertiecrafter's Avatar
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 6 : Apprentice Explorer
crazelarious
crazelarious's Avatar
Omg thank you so much!
It worked! :D
2
10/25/2020 2:53 pm
Level 43 : Master Lemon
char-png
char-png's Avatar
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

Website

© 2010 - 2024
www.planetminecraft.com

Welcome