From 0da9a66dc717b5b18fbba7cffa41ebd1c01f8a8a Mon Sep 17 00:00:00 2001 From: Daniel Weipert Date: Wed, 20 Mar 2024 01:35:40 +0100 Subject: use predicate for nether check and init --- data/vanilla_skyblock/functions/tick.mcfunction | 8 +------- 1 file changed, 1 insertion(+), 7 deletions(-) (limited to 'data/vanilla_skyblock/functions/tick.mcfunction') 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 -- cgit v1.2.3