看到 1.21-rc1 snapshot 小兴奋,把1.20.6的数据包拖过去,发现全完蛋,什么都失灵,连最简单的 recipe 都不好用了。
又下载了别人做的 24w18a (for 1.21) 的数据包,也不好用,直接懵圈。
折腾一天,终于发现原来是数据包文件夹命名改了:
In snapshot 24w21a (for 1.21) some registry types that used legacy datapack directory names (based on plural name of element) have been renamed to match registry name. Affected directories:
structures -> structure
advancements -> advancement
recipes-> recipe
loot_tables -> loot_table
predicates-> predicate
item_modifiers -> item_modifier
functions -> function
tags/functions -> tags/function
In snapshot 24w19a (for 1.21) tag directories were also renamed.
tags/items -> tags/item
tags/blocks -> tags/block
tags/entity_types -> tags/entity_type
tags/fluids -> tags/fluid
tags/game_events -> tags/game_event