It would be great if vanilla (or even better if also mod related) items, blocks and entities have accesible their translation keys and icon paths accesible by some mean, like a component inside minecraft:block/components schema or from the Scripting API.
I mean, that would allow to use them quite easy inside Scripting API forms. Let's say, I create a reward block or something like that: when a player completes a quest, he/she can interact with the reward block and then the block would ask which one of the available items he/she is going to pick as reward from a set of options (let's say 4 random items and/or blocks). I would be great to show them as ActionFormData buttons, where the icon shows the item/block and the text displays its name and available "amount".
Please sign in to leave a comment.
0 Comments