diff options
author | Daniel Weipert <git@mail.dweipert.de> | 2024-03-20 01:35:40 +0100 |
---|---|---|
committer | Daniel Weipert <git@mail.dweipert.de> | 2024-03-20 13:25:45 +0100 |
commit | 0da9a66dc717b5b18fbba7cffa41ebd1c01f8a8a (patch) | |
tree | 1ff0575a793616ed67db949e9a1f47c71b57fff1 /data/vanilla_skyblock/functions/tick.mcfunction | |
parent | 216d8166aaa321a4cfb5fef3510a1ee60c7dc9de (diff) |
use predicate for nether check and init
Diffstat (limited to 'data/vanilla_skyblock/functions/tick.mcfunction')
-rw-r--r-- | data/vanilla_skyblock/functions/tick.mcfunction | 8 |
1 files changed, 1 insertions, 7 deletions
diff --git a/data/vanilla_skyblock/functions/tick.mcfunction b/data/vanilla_skyblock/functions/tick.mcfunction index 5e32c7a..ac0dd41 100644 --- a/data/vanilla_skyblock/functions/tick.mcfunction +++ b/data/vanilla_skyblock/functions/tick.mcfunction @@ -6,10 +6,4 @@ # re-place end_portal_frame # set scoreboard values to 1 for processed chunk -execute in the_nether unless score initialized_nether vanilla_skyblock_data matches 1 run function vanilla_skyblock:initialize_nether - -execute in the_nether unless score initialized_nether vanilla_skyblock_data matches 1 run tellraw @a "COOL" -execute unless score initialized_nether vanilla_skyblock_data matches 1 run tellraw @a "COOL!!" - -execute in overworld run tellraw @a "OI!!O" -execute in the_nether run tellraw @a "OI!!N" +execute as @a[predicate=vanilla_skyblock:in_nether] unless score initialized_nether vanilla_skyblock_data matches 1 run function vanilla_skyblock:initialize_nether |