Рет қаралды 905
Hello hello! I just wanted to show how to implement a parkour course into a custom Minecraft map using just a few commands.
Commands:
summon minecraft:armor_stand ~ ~2 ~ {Tags:["parkour_checkpoint"],Invisible:1b}
execute at @p if block ~ ~-1 ~ minecraft:gold_block run tp @e[type=minecraft:armor_stand,tag=parkour_checkpoint] ~ ~ ~
execute at @p if block ~ ~-1 ~ minecraft:deepslate run execute at @e[type=minecraft:armor_stand,tag=parkour_checkpoint] run tp @p ~ ~ ~
particle commands:
execute at @e[type=minecraft:armor_stand,tag=parkour_checkpoint] as @e[type=minecraft:armor_stand,tag=parkour_checkpoint] run tp @s ~ ~ ~ ~5 ~
execute at @e[type=minecraft:armor_stand,tag=parkour_checkpoint] as @e[type=minecraft:armor_stand,tag=parkour_checkpoint] anchored feet run particle minecraft:falling_dust minecraft:target ^ ^ ^1 0 0 0 0 1
execute at @e[type=minecraft:armor_stand,tag=parkour_checkpoint] as @e[type=minecraft:armor_stand,tag=parkour_checkpoint] anchored feet run particle minecraft:falling_dust minecraft:target ^ ^ ^-1 0 0 0 0 1
Multiplayer commands:
summon minecraft:armor_stand ~ ~2 ~ {Tags:["parkour_checkpoint_player_1"],Invisible:1b}
execute at @p[tag=player_1] if block ~ ~-1 ~ minecraft:gold_block run tp @e[type=minecraft:armor_stand,tag=parkour_checkpoint_player_1] ~ ~ ~
execute at @p[tag=player_1] if block ~ ~-1 ~ minecraft:deepslate run execute at @e[type=minecraft:armor_stand,tag=parkour_checkpoint_player_1] run tp @p[tag=player_1] ~ ~ ~