this post was submitted on 29 Feb 2024
5 points (85.7% liked)

Minecraft

236 readers
1 users here now

Minecraft is a 3D sandbox game developed by Mojang Studios where players interact with a fully modifiable three-dimensional environment made of blocks and entities. Its diverse gameplay lets players choose the way they play, allowing for countless possibilities.

Posts should either be related to Minecraft or to the Lemmy community itself. Crossposting from other Lemmy Minecraft communities is fine as long as it follows the sh.itjust.works rules. As a clarification this is not a vanilla-only community. Feel free to post content that includes Minecraft modifications.

Icon image is used under the CC BY-SA 2.0 Deed: https://creativecommons.org/licenses/by-sa/3.0/. Image was created by Oakar567 on minecraft.wiki

founded 1 year ago
MODERATORS
 

Could one create a command block that causes a teleport transport station to be created? Teleport transports are a command block triggered by a stone pressure plate that uses the /tp command in a command block to send the player to a specific "grand central station", a return station should also be created to send the player back to a place nearby the sending station. The effect should be triggered using a specific gold tool.

Is such a thing possible with command blocks?

you are viewing a single comment's thread
view the rest of the comments
[–] SmoochyPit@lemmy.ca 1 points 6 months ago* (last edited 6 months ago) (1 children)

Bit late with my reply here, but this is absolutely possible! It may be worth using the “data pack” functionality, but the primary data pack logic is commands at its core!

It’s not quite what you’re looking for, but my own Warp Pads and KawaMood’s Waystones both accomplish similar things, though without a central hub. Both are open-source. Your case would probably be easier, since you could store the destination alone rather than maintaining one or more lists of valid destinations.

[–] waspentalive@lemmy.one 1 points 6 months ago

The central hub mostly just provides a place to /tp to when lost away from base.