#updating from 1.20 to 1.21
1 messages · Page 1 of 1 (latest)
<@&1201956957406109788>
💬 While you wait, take this time to provide more context and details.
✅ Once your question has been resolved (or you no longer need it), please click Resolve Question or run /resolve
<@&1166082198152159386> <@&1202694677766348840>
Please note that you still might not immediately get a response since all helpers are human beings and volunteers (and also might be sleeping right now)
1.21 renamed many folders that make up a Minecraft datapack, breaking virtually all datapacks from prior versions. Now, all folders which previously had plural names, except tags, now have singular names.
Below is a list of all folder names changed in 1.21:
structures -> structure
advancements -> advancement
recipes -> recipe
loot_tables -> loot_table
predicates -> predicate
item_modifiers -> item_modifier
functions -> function
tags/functions -> tags/function
tags/items -> tags/item
tags/blocks -> tags/block
tags/entity_types -> tags/entity_type
tags/fluids -> tags/fluid
tags/game_events -> tags/game_event
well, first you need to rename the folders, and then you need to update all the commands where there are nbt items to components.
i leave the "nbt" like that right?
No, in 1.20.5 MC switched to “components”.
Just a quick question, have you ever made a datapack before this?
yeah but it was a really simple one im a c# dev
so what do i do?
like this?
What is it
what's with the format, why are the brackets backwards
its a json file in the notes app im resetting up vusial studio rn
is this right?
how do i add an object?
You have to edit the json manually
ok
So where you see "minecraft:custom_data":{} in the json, just put the custom data you want inside the {}, but make sure it’s in json format (basically make sure it’s "key":value and not key:value)
whats this?
Where is this in the advancement?
enchantment-plus-v3-1_1-20-4\data\enchantmentplus\advancement\custom
i think its because i didnt do the "enchantment-plus-v3-1_1-20-4\data\minecraft" folder yet
in the advancement