• check_circle Functions
  • 8,505 views, 5 today
  • 2,332 downloads, 1 today
  • 69
  • 67
  • 1
AjaxGb
Level 25 : Expert Goblin
4
Tired of digging up an entire beach to find one buried chest? With this data pack, you'll see an "X" on the ground when you're near the target of a treasure map.

The "X" appears when you're holding a treasure map and close to the target.

Known issues:

Particles can't be seen through transparent blocks on Fast or Fancy graphics. So if the "X" is underwater and your computer can't handle Fabulous graphics, you'll have to dive underwater to see it.

    Configuring render distance:

    By default, the "X" appears when you're within 5 (horizontal) blocks of the target. This can be changed, either globally or for individual players, using the "x_marks_the_spot_render_distance" scoreboard objective.

    To increase the global default distance to 10 blocks, use
    /scoreboard players set #DEFAULT x_marks_the_spot_render_distance 10
    To increase an individual player's distance to 10 blocks, use
    /scoreboard players set SomePlayer x_marks_the_spot_render_distance 10
    To remove an individual player's distance (returning them to the global default distance), use
    /scoreboard players reset SomePlayer x_marks_the_spot_render_distance
    Negative distances will be ignored. The value you set must be 0 or greater.
    CompatibilityMinecraft 1.18
    toMinecraft 1.21
    Tags

    3 Update Logs

    v3.0 : by AjaxGb 07/07/2024 9:06:38 pmJul 7th, 2024

    • Update to support Minecraft 1.21.
      • For 1.20.3 - 1.20.4 support, use v2.0 (available on GitHub).
    • Make render distance configurable.
    • Fix the "X" not appearing if you rename the treasure map.
    LOAD MORE LOGS

    Create an account or sign in to comment.

    King_Artifact
    07/10/2024 8:40 pm
    Level 29 : Expert Procrastinator
    Very nice!
    1

    Welcome