19 lines
1.1 KiB
Plaintext
19 lines
1.1 KiB
Plaintext
!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
|