-
Notifications
You must be signed in to change notification settings - Fork 0
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Merge pull request #6 from techsomnia/non-op-functionality
Non-op functionality
- Loading branch information
Showing
3 changed files
with
6 additions
and
0 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
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 |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
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 |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
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 |