Warp functionality

This commit is contained in:
2024-12-04 13:52:42 +01:00
parent 0c3e0adbca
commit 1c477c4816
5 changed files with 34 additions and 9 deletions

View File

@ -0,0 +1,12 @@
# --- HeroGames - Copyright (c) HeroHost team (code provided by HeroChris). ---
execute if score @s +hc.warp matches 1 in herohost:world run tp @s 5 109 50 -90 0
execute if score @s +hc.warp matches 2 in herohost:world run tp @s 50 125 -15 -118 0
# effects
execute at @s run playsound minecraft:block.amethyst_block.step record @s ~ ~ ~ 0.7 0.7
# [ WIP ] execute as @s at @s run particle minecraft:reverse_portal ~ ~1 ~ 0.5 0.5 0.5 0.1 20
# reset
scoreboard players set @s +hc.warp 0
scoreboard players enable @s +hc.warp