Reset system rework

- modulair reset system
- fall out of world reset
- lobby enchantment additions for drowning damage negation
- predicate world level 50 for herohost:world
This commit is contained in:
2024-12-12 02:55:41 +01:00
parent cfa1761593
commit 49068b6989
6 changed files with 59 additions and 8 deletions

View File

@ -5,12 +5,11 @@ tellraw @a[tag=hc.initialized] [{"text":"» ","color":"gray"},{"translate":"hhos
execute at @s run playsound minecraft:block.amethyst_block.step ambient @s ~ ~ ~ 0.7 0.7
# reset player
clear @s[tag=!hc.debug]
execute in herohost:world run tp @s[tag=!hc.debug] 5 109 50 -90 0
execute in herohost:world run spawnpoint @s 5 109 50 -90
execute as @s[tag=!hc.debug] run function herohost:core/reset
# misc
scoreboard players enable @s +hc.warp
execute at @s run playsound minecraft:block.amethyst_block.step ambient @s ~ ~ ~ 0.7 0.7
# initialize player
tag @s add hc.initialized
tag @s add hc.initialized