joshuaprince / CoordinateOffset

⛏️ A Minecraft Spigot/Paper plugin that configurably obfuscates players' coordinates.
GNU Affero General Public License v3.0
17 stars 7 forks source link

Direction Offset #17

Open Kyles1201 opened 3 months ago

Kyles1201 commented 3 months ago

Describe the solution you'd like I would like the ability to obfuscate the cardinal directions in the F3 menu. This can either be done with an offset (90 degrees CW/CCW) or by just replacing each direction with a different direction/value. This feature would allow the +Z, -Z, +X, -X directions to all display any of the directions (north, east, south, west) in any orientation.

I'm not sure how hard it is to change F3 information coding wise... but i figured that if it could be done with coordinates then it can be done with the directions too.

I think this could be useful for anyone wanting to disable F3 navigation by altering what information is displayed. I personally need it because I generated my continent world in the wrong direction and I want a players F3 to say they are going North when they are actually going East (+X direction).

joshuaprince commented 3 months ago

I don't have any plans for this at the moment. Like Y-coordinate offsets (#14), rewriting chunks would be the hardest part. Rotating means having to rewrite every block state in the chunk to be its rotated variant (e.g. west-facing chest becomes east/north/south), and also, the block has to be moved to a different part of the chunk. Every other packet like entity position would also need a rotation component.