90% of ad revenue goes to creators. Go ad-free while supporting creators with Modrinth Plus. Subscribe today!
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.
Dependencies
Details
Licensed LGPL-3.0-only
Published 2 years ago
Updated 13 days ago