BlueMap-Minecraft / BlueMap

A Minecraft mapping tool that creates 3D models of your Minecraft worlds and displays them in a web viewer.
https://bluecolo.red/bluemap
MIT License
1.86k stars 129 forks source link

Portal block Hud enhancement. #118

Closed dogdie233 closed 3 years ago

dogdie233 commented 3 years ago

Is your feature request related to a problem? Please describe. No.

Describe the solution you'd like When I select a portal block, I can view the target location of the portal, and click the Teleport button to teleport the camera to the corresponding world and location.

image Looks like this (Just modified the DOM)

TBlueF commented 3 years ago

The idea is interesting, but i see some issues with implementing this:

I think this is too small of an improvement for the amount of effort that is needed to implement it. Also it would be totally possible to create a similar feature by making a plugin that uses BlueMap's API to create a marker on each portal that teleports you to the other side of the portal when you click on it. So i think that would be the preferred way :)

Sch1nken commented 3 years ago

Additionally, Portals can teleport to and from more than one portal at once and I belive even when correctly implementing the minecraft formular for portal calculation that there would be one big issue left: When entering a portal it does matter on which block you're standing (imagine a basic 2 wide portal), both blocks could in theory teleport you to a different portal. Also you could only stand in half way (from either side) and that could give you 4 more portal locations.

It's a bit hardish to explain clearly, so take a look over here: https://www.youtube.com/watch?v=eBYmcfWAbm8

I know this is probably an edge case, but yeah. I really like the plugin idea as that would eliminate a lot of problems.

TBlueF commented 3 years ago

Closing this with the conclusion that it should be a feature implemented by a plugin rather than bluemap itself.