Uploaded image for project: 'Minecraft: Java Edition'
  1. Minecraft: Java Edition
  2. MC-270041

Component predicate for lodestone_tracker requires pos

XMLWordPrintable

    • Icon: Bug Bug
    • Resolution: Invalid
    • None
    • 24w13a, 1.20.5 Release Candidate 2
    • None
    • Confirmed
    • Data Packs

      Here's a small datapack to check if the player is holding a lodestone compass that's tracking a lodestone in the overworld. It unfortunately doesn't work since the predicate requires a pos component as well

      Steps to reproduce:

      1. Install the datapack
      2. Place a lodestone in the overworld
      3. Use a compass on it and hold it in your mainhand
      4. Run /execute if predicate lodestone_dimension_match:holding_lodestone_compass

      The nbt way of doing this was with "nbt": "{LodestoneDimension:\"minecraft:overworld\"}"

            Unassigned Unassigned
            tholleman tholleman
            Votes:
            0 Vote for this issue
            Watchers:
            3 Start watching this issue

              Created:
              Updated:
              Resolved:
              CHK: