Mojira Archive
MC-273109

Macro cannot use $("minecraft:rarity")

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

Incomplete

ItsGhostH

2024-06-08, 06:47 AM

2024-06-09, 02:03 AM

2024-06-08, 01:00 PM

0

0

Unconfirmed

(Unassigned)

1.20.6, 1.21 Pre-Release 4

-