2
I am a data pack maker! I also wanted to update all of my data packs to 1.21 but it didnt work. I tried to change the pack format and it didnt work. Can someone help me how can i make so my data packs work in 1.21?
Create an account or sign in to comment.
8
![Silabear's Avatar](https://cdn.statically.io/img/static.planetminecraft.com/files/avatar/3183322_31.png)
The main breaking changes added in 1.20.1 are that pretty much all default folder names have changed. For example, /data/namespace/functions has changed to be singular: /data/namespace/function. I have a full list of changes here:
Unfortunately the only way to update this is to do it manually, which can take a bit of time. Luckily, there exists a tool to convert old NBT to components: misode.github.io/nbt2components.
If you're updating from a version before that, there are going to be even more breaking changes which I cannot list all of them, but you can check the datapack technical changelogs at misode.github.io/changelog/?tags=breaking
- 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
give @p pufferfish{display:{Name:'{"text":"Babel","color":"gold","italic":false}'},CustomModelData:123}
it would begive @p pufferfish[custom_name='{"text":"Babel","color":"gold","italic":false}',custom_model_data=123]
Unfortunately the only way to update this is to do it manually, which can take a bit of time. Luckily, there exists a tool to convert old NBT to components: misode.github.io/nbt2components.
If you're updating from a version before that, there are going to be even more breaking changes which I cannot list all of them, but you can check the datapack technical changelogs at misode.github.io/changelog/?tags=breaking
![101An's Avatar](https://cdn.statically.io/img/static.planetminecraft.com/files/avatar/4143890_4.jpeg)
This is very useful 1.20.5 onwards has been annoying for all Minecraft development
![JakeLaMtn's Avatar](https://cdn.statically.io/img/static.planetminecraft.com/files/avatar/4084854_3.png)
I really hate this plural->singular change. Maybe there's an argument for how it's more clear or accurate, somehow. but does it really matter?
Seems silly to me.
Thanks for the info though, I'll keep this in mind when I update.
Seems silly to me.
Thanks for the info though, I'll keep this in mind when I update.
![Silabear's Avatar](https://cdn.statically.io/img/static.planetminecraft.com/files/avatar/3183322_31.png)
Yep, everyone hates it :P
![pizza_popcorn's Avatar](https://cdn.statically.io/img/static.planetminecraft.com/files/avatar/3248267_1.png)
I have the same problem! :/
![alex2k's Avatar](https://cdn.statically.io/img/static.planetminecraft.com/files/avatar/4209512_12.png)
me too
![tikensht's Avatar](https://cdn.statically.io/img/static.planetminecraft.com/files/avatar/default.png)
https://minecraft.wiki/w/Data_pack There is everything that mojang has changed in datapacks in 1.21.
![alex2k's Avatar](https://cdn.statically.io/img/static.planetminecraft.com/files/avatar/4209512_12.png)
thanks :)