14 lines
465 B
MCFunction
14 lines
465 B
MCFunction
# @s: entity (location is worldspawn)
|
|
#> send entity to the nullscape (the_end)
|
|
|
|
#say going to nullscape
|
|
|
|
tag @s add ns.self
|
|
|
|
execute store result score $x ns.dummy run data get entity @s Pos[0] 0.1
|
|
execute store result score $z ns.dummy run data get entity @s Pos[2] 0.1
|
|
|
|
summon marker ~ ~ ~ {Tags:['ns.teleporter']}
|
|
execute as @e[type=marker,limit=1,distance=..1,tag=ns.teleporter] run function nullscape:technical/gateway/marker_teleport
|
|
|
|
tag @s remove ns.self
|