mojira.dev
MC-276273

Functions do not work with expanded item tags in loot tables

Description:
Functions are skipped for 'tag' type entries of a loot table if 'expand' is set to true.

Using an example loot table,

[media]

:

Expected Behavior:
Loot is a random pickaxe that is damaged halfway.

Result Behavior:
Loot is a random pickaxe with no damage.

Linked issues

Attachments

Comments 2

What happens when you use a different damage value (like 1?)

Thank you for your report!
We're tracking this issue in MC-212671, so this ticket is being resolved and linked as a duplicate.

If you would like to add a vote and any extra information to the main ticket it would be appreciated.

If you haven't already, you might like to make use of the search feature to see if the issue has already been mentioned.

Quick Links:
📓 Bug Tracker Guidelines – 💬 Community Support – 📧 Mojang Support (Technical Issues) – 📧 Microsoft Support (Account Issues)
📓 Project Summary – ✍️ Feedback and Suggestions – 📖 Game Wiki
-- I am a bot. This action was performed automatically! The ticket was resolved by one of our moderators, and I left this message to give more information to you.

Ryan Taylor

(Unassigned)

Confirmed

Data Packs, Loot tables

loot-table

1.21.1

Retrieved