Changelog
Adds a new armour materials API to sort of replace the primary use case of the old item attribute modifiers API.
- Added new armor material tags for different levels of frost and heat resistance. Note that these are tags for armor materials, not armor items, and therefore go in
data/<namespace>/tags/armor_material/
. - Added two new events:
ArmorMaterialEvents.GET_HEAT_RESISTANCE
andArmorMaterialEvents.GET_FROST_RESISTANCE
to get the respective heat and frost resistance for an armor material and armor type (like boots, chestplate, helmet). - Known issue: Using the tags to apply heat and frost resistance doesn't really work with a datapack's normal world-independence. For now, the tags should only be used in datapacks that apply to all worlds on a modpack/server.