Skip to content

Commit

Permalink
🐛 fix outside tvscreen not always removing on /reload (#253)
Browse files Browse the repository at this point in the history
  • Loading branch information
TheAfroOfDoom authored Oct 25, 2024
1 parent e00de09 commit b13ee38
Show file tree
Hide file tree
Showing 2 changed files with 13 additions and 1 deletion.
Original file line number Diff line number Diff line change
Expand Up @@ -4,4 +4,15 @@ function animated_java:omegaflowey_summitflowerbed/remove/all
function animated_java:omegaflowey_summitpetalpipeleft/remove/all
function animated_java:omegaflowey_summitpetalpiperight/remove/all
function animated_java:omegaflowey_summitpetalpipetop/remove/all
$execute as $(outside_tvscreen_uuid) run function animated_java:omegaflowey_tv_screen/remove/this
# TAG_OUTSIDE_TVSCREEN_HARDCODED
execute as @e[ \
x=-123.47, y=87.25, z=33.35, \
distance=..1, \
type=minecraft:item_display, \
tag=aj.omegaflowey_tv_screen.root, \
tag=!tv_screen.boss_fight, \
tag=!tv_screen.soul, \
tag=decorative, \
tag=omega-flowey-remastered, \
limit=1 \
] run function animated_java:omegaflowey_tv_screen/remove/this
Original file line number Diff line number Diff line change
@@ -1,4 +1,5 @@
# Flowey TV screen, smiling
# TAG_OUTSIDE_TVSCREEN_HARDCODED
scoreboard players set #omegaflowey.summon.tag_variant omegaflowey.global.flag 3
execute positioned -123.47 87.25 33.35 rotated -158.2 12.52 run \
function animated_java:omegaflowey_tv_screen/summon { args: { animation: 'omegaflowey_move_slow', start_animation: true, variant: 'smiling_noglow' } }
Expand Down

0 comments on commit b13ee38

Please sign in to comment.