Round 2: 24w09a Components with Advancements and loot tables (i need help)
hi im back again and i need to know if im doing something wrong here:
Continue to help post{ "display": { "title": { "text": "Meteorology" }, "description": { "text": "The Study of Weather" }, "icon": { "item": "minecraft:enderman_spawn_egg", "components": {"minecraft:custom_model_data": 7} }, "frame": "task", "show_toast": true, "announce_to_chat": true, "hidden": true, "background": "minecraft:textures/weather/weatherbackground.png" }, "criteria": { "metorology": { "trigger": "minecraft:impossible" } } }
and
{ "type": "minecraft:entity", "pools": [ { "rolls": 1, "entries": [ { "type": "minecraft:item", "name": "minecraft:charcoal", "functions": [ { "function": "minecraft:set_nbt", "tag": "{CustomModelData:1,Tags:[\"windbreaker\"],tags:1b,Enchantments:[{}],display:{Name:'[{\"text\":\"Enchanted Book\",\"italic\":false,\"color\":\"yellow\"}]',Lore:['[{\"text\":\"Windbreaker\",\"italic\":false,\"color\":\"gray\"}]']}}" }, { "function": "minecraft:set_count", "count": { "min": 1, "max": 1 } } ] } ] } ] }
im sorry if this is a burden to help but i reeeeally need help but im sorry
also the problem is they wont work when i try them no matter what
(p.s heres the code for the "book" : give @p charcoal[minecraft:custom_model_data=1,minecraft:enchantment_glint_override=1b,minecraft:custom_name='[{"text":"Enchanted Book","italic":false,"color":"yellow"}]',minecraft:lore=['[{"text":"Windbreaker","italic":false,"color":"gray"}]'],minecraft:custom_data={windbreaker_book:1b}] 1 )