feat: owlaunch

This commit is contained in:
2025-08-17 21:52:18 +09:00
commit 0a7ebf7507
10 changed files with 85 additions and 0 deletions

18
owlaunch/launch.mcf Normal file
View File

@@ -0,0 +1,18 @@
!REPEATING
execute as @e[tag=o.w.launch] if entity @s[gamemode=survival] run scoreboard players set $gm o.w.l.internal 0
execute as @e[tag=o.w.launch] if entity @s[gamemode=creative] run scoreboard players set $gm o.w.l.internal 1
execute as @e[tag=o.w.launch] if entity @s[gamemode=adventure] run scoreboard players set $gm o.w.l.internal 2
execute as @e[tag=o.w.launch] if entity @s[gamemode=spectator] run scoreboard players set $gm o.w.l.internal 3
execute as @e[tag=o.w.launch] run gamemode creative @s
execute as @e[tag=o.w.launch] at @s run tp ~ ~10000 ~
execute as @e[tag=o.w.launch] at @s anchored eyes positioned ^ ^ ^-4 summon minecraft:end_crystal run damage @s 0
execute as @e[tag=o.w.launch] at @s run tp ~ ~-10000 ~
execute as @e[tag=o.w.launch] if score $gm o.w.l.internal matches 0 run gamemode survival @s
execute as @e[tag=o.w.launch] if score $gm o.w.l.internal matches 1 run gamemode creative @s
execute as @e[tag=o.w.launch] if score $gm o.w.l.internal matches 2 run gamemode adventure @s
execute as @e[tag=o.w.launch] if score $gm o.w.l.internal matches 3 run gamemode spectator @s
tag @e remove o.w.launch