Mods Server

CoordsToBlock – Converts Real-World Coords to a Minecraft Block Position [Spigot Plugin]

  • 27 views 24 today
  • save_alt 4 downloads 4 today
Game Version
Minecraft 1.21.11
Progress
100% complete
  • 1
  • 0
KinsonStudio
Lvl 41Master Miner
74

About CoordsToBlock

CoordsToBlock is a simple Minecraft Java (Spigot) plugin tool that converts a real-world coordinate location into a corresponding Minecraft block position. This is useful for locating and building real-world structures on a custom Minecraft world map.

Video explanation and example walkthrough: www.youtube.com/watch?v=3ZXC56hAl9k


You need:
  • The real-world coordinate boundaries (in latitude and longitude decimal degree format) of the area that you're trying to convert
  • The Minecraft world's boundary positions (top-left and bottom-right block positions)
  • A target position in real-world coordinates to convert

Commands

This plugin only has one command: "ctb". Any player (OP or not) can use this command. You can also use this command through the server console.

Syntax: /ctb [​1] [​2] [​3]

[​1] Real-world coordinate boundaries (LAT/LONG): <west_LONG> <south_LAT> <east_LONG> <north_LAT>

[​2] Minecraft world's boundary positions (X/Z): <top-left_X> <top-left_Z> <bottom-right_X> <bottom-right_Z>

[​3] Target pos in real-world coords to convert (LAT/LONG): <target_LAT> <target_LONG>


Example usage:

Command input: /ctb -74.0 45.4 -73.4 45.7 0 0 8900 5400 45.470358 -73.538817

Output: CONVERTED BLOCK POSITION (X, Z): 6841, 4134

More like this

  Have something to say?

Welcome