sil_s

Can you update this datapack from version 1.20 to version 26.1. Update all the commands that don't work anymore

Kodari AI
KodariApr 19 at 8:41 am 38,743 (v2)

I’ll read all the datapack files to identify what needs to be updated for the newer Minecraft version.

I’ll update this datapack from Minecraft 1.20 to 1.21 format (pack format 41+). The main changes needed are:

  1. Advancements: Entity NBT predicates ("nbt" field) were removed in 1.20.5 and can’t directly check entity tags anymore

  2. Loot Tables: minecraft:set_nbt for potions replaced with minecraft:set_potion, and custom data uses minecraft:set_custom_data

  3. Player loot table: Multiple deprecated functions need updating

Updated datapack from 1.20 to 1.21 format. Key changes: removed entity NBT predicates from advancements (no longer supported), replaced set_nbt with set_potion for all potions and set_custom_data for custom NBT, updated player loot table to use fill_player_head, copy_custom_data, and proper set_lore format, and fixed enchantment names (e.g., sweeping → sweeping_edge).

Kodari can make mistakes. Review important code before using.
Files
data
Code
18 3,483
data/skywars/tags/items/skywarsgui.json
{"values":["oak_log","leather_helmet","golden_pickaxe","enchanting_table","bow","shield","tnt","trident","water_bucket","creeper_spawn_egg","ender_pearl","scaffolding","netherite_scrap","elytra","crossbow","bucket","flint_and_steel","bone"]}