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
Currently this bug report is incomplete. Please add a description of the issue and the following items listed below.
Please update the description to include steps to reproduce this issue, as well as expected VS observed results.
Please also attach any needed commands, datapacks, resourcepacks, screenshots, videos or worlds needed to help reproduce this issue.