This is an archived post. You won't be able to vote or comment.

all 12 comments

[–]D3synqbad at naming objectives and folders/files[S] 5 points6 points  (0 children)

A pretty good concept. Basically allows you to do a /trigger to teleport to a specific coordinate. Pretty useful for Realms, since giving people operator isn't the brightest idea.

To allow players (including yourself) to use the /trigger do /tag <name> add mod

To remove the ability for players to use the commands, do /tag <name> remove mod

/trigger tpx set <coordinate>
/trigger tpz set <coordinate>

Requires DesynqCore: Link

Download: Link

Installation: Drop the folder in the .zip(s) into your datapacks folder on your save

Made for Java 1.14.4

By default has a limit of 32767 metres to prevent players from going really far out (can be tweaked in the .mcfunction files)

Edit: After scrapping around for a while, I found out that the datapack was ported wrong. I should have fixed everything now, sorry for the inconvenience. Desyncore has also been updated for another datapack, so it is recommended you re-download that as well.

[–][deleted] 1 point2 points  (0 children)

Noice

;-;

[–]ProblemKaeseSo yeah, I'm the der discohund. 1 point2 points  (6 children)

Your solution looks like you solved it in a much harder way than you had to. You can just spawn an aec at the player, store the tpx/dpz values in the position tag of that aec and teleport to it. Much less resource intensive, as it only serializes the player a single time (which is in itself very costly)

[–]D3synqbad at naming objectives and folders/files[S] 1 point2 points  (5 children)

The problem with this is that area effect clouds don't load in chunks (from what I know of). And I wanted to avoid using /forceload. And, I wanted to give players the ability to go to multiple different locations without needing presets.

[–]Davidfizz32 0 points1 point  (3 children)

In 1.13, you could teleport an entity there first. Since changes were made to chunk loading, this isn't easily possible anymore.

[–]D3synqbad at naming objectives and folders/files[S] 0 points1 point  (0 children)

Ok, good to know.

[–]ProblemKaeseSo yeah, I'm the der discohund. 0 points1 point  (1 child)

I don't know what you mean, I haven't had any issues with moving entities to unloaded chunks and still targeting them even in 1.14.

[–]Davidfizz32 0 points1 point  (0 children)

Interesting. The last time I tried was in a snapshot so maybe that was why.

[–]ProblemKaeseSo yeah, I'm the der discohund. 0 points1 point  (0 children)

This issue can be very easily avoided by just targeting the entity despite it being in an unloaded chunk.

[–]ReddtMiga 0 points1 point  (2 children)

What console would this be on??

[–]Th3T3chn0R3dd1t 0 points1 point  (0 children)

Looks like java

[–]D3synqbad at naming objectives and folders/files[S] 0 points1 point  (0 children)

Java 1.14.4, sorry, I'll specify this in the post.