5
submitted 4 months ago by [email protected] to c/minecraft

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?

top 5 comments
sorted by: hot top controversial new old
[-] [email protected] 2 points 4 months ago

I can build them manually in creative mode... I'd like to automate the process.

[-] ajax6893 1 points 4 months ago

I don't use command blocks very often. I wasn't aware you could automate their creation. I can look into it and see what I can find out.

[-] [email protected] 1 points 4 months ago

Thanks. I was hoping that this wouldn't need a mod.

[-] [email protected] 1 points 2 months ago* (last edited 2 months ago)

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.

[-] [email protected] 1 points 2 months ago

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

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

Minecraft

232 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