Skip to content

Commit

Permalink
Merge pull request #6 from techsomnia/non-op-functionality
Browse files Browse the repository at this point in the history
Non-op functionality
  • Loading branch information
twboom authored Nov 4, 2020
2 parents 92e1e2f + 94291c7 commit c1d5b84
Show file tree
Hide file tree
Showing 3 changed files with 6 additions and 0 deletions.
2 changes: 2 additions & 0 deletions pack/data/pack/functions/tpend.mcfunction
Original file line number Diff line number Diff line change
@@ -1 +1,3 @@
execute if entity @s[gamemode=spectator] run execute in minecraft:the_end run tp @s 100 49 0
scoreboard players reset @s tpend
scoreboard players enable @s tpend
2 changes: 2 additions & 0 deletions pack/data/pack/functions/tpoverworld.mcfunction
Original file line number Diff line number Diff line change
@@ -1 +1,3 @@
execute if entity @s[gamemode=spectator] run execute in minecraft:overworld run tp @s 0 100 0
scoreboard players reset @s tpoverworld
scoreboard players enable @s tpoverworld
2 changes: 2 additions & 0 deletions pack/data/pack/functions/triggercheck.mcfunction
Original file line number Diff line number Diff line change
@@ -0,0 +1,2 @@
execute as @a[scores={tpend=1..}] at @s run function pack:tpend
execute as @a[scores={tpoverworld=1..}] at @s run function pack:tpoverworld

0 comments on commit c1d5b84

Please sign in to comment.