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

Macro cannot use $("minecraft:rarity")

XMLWordPrintable

    • Icon: Bug Bug
    • Resolution: Incomplete
    • None
    • 1.20.6, 1.21 Pre-Release 4
    • None
    • Unconfirmed
    • (Unassigned)

      12, 64, 14 has the following block data: {x: 12, y: 64, Items: [{count: 1, Slot: 0b, components: {"minecraft:rarity": "epic"}, id: "minecraft:stick"}], z: 14, id: "minecraft:barrel"}
      /function this with block 12 64 14 Items[0].components
      
      this function:
        $give @s red_shulker_box[rarity=$("minecraft:rarity")]

      it is unusable

      I cant let this function use "minecraft:rarity" value, that will be Unknown function

            Unassigned Unassigned
            ItsGhostH ItsGhostH
            Votes:
            0 Vote for this issue
            Watchers:
            1 Start watching this issue

              Created:
              Updated:
              Resolved: