Frostiful:Data Component Types
Frostiful adds several component types that can be used to configure item behaviours. See the vanilla data component format page for a general overview of components
List of Components
frostiful:cape
This component can be used to render capes when worn in the Chest or the Cape Trinket slot.
- components: Parent tag.
- frostiful:cape: A compound component.
- cape_texture: Resource location of the cape texture to use.
- override_account_cape: Optional. Whether to render this cape over any capes on the player's account. Defaults to
true.
- frostiful:cape: A compound component.
frostiful:textures/entity/frostology_cloak.png. Other cape textures use hashed IDs that are not available unless seen by a player during your session. To use a specific texture, add a dedicated file to a resource pack first.frostiful:ice_like
When present on an item, causes that item to have the effects of the Cloak of Frostology, including the tooltip Reborn in Ice.
- components: Parent tag.
- frostiful:ice_like: A compound component.
- block_damage_types: Optional resource location of a damage type tag. What damage types this item fully blocks when worn. Defaults to
minecraft:is_freezing.
- block_damage_types: Optional resource location of a damage type tag. What damage types this item fully blocks when worn. Defaults to
- frostiful:ice_like: A compound component.
frostiful:inert
When present on an item, applies the tooltip Inert to it. Used by the Inert Cloak of Frostology only.
- components: Parent tag.
- frostiful:inert : An empty compound component.
frostiful:frost_resistance
This component adds Frost Resistance and Environment Frost Resistance attribute modifiers to items. It does not modify the underlying minecraft:attribute_modifiers component; it applies modifiers only when the item is equipped or displayed in a tooltip.
The attributes are documented on the Thermoo Wiki.
- components: Parent tag.
- frostiful:frost_resistance: A compound component.
- frost_resistance_multiplier: Multiplier for the base frost resistance of the armor type (see below).
- environment_frost_resistance_multiplier: Multiplier for the base environment frost resistance of the armor type (see below).
- frostiful:frost_resistance: A compound component.
The final attribute modifiers are applied as an add_value modifier for the attributes thermoo:frost_resistance and thermoo:environment_frost_resistance[1] and thermoo:environment_heat_resistance[1] with modifier IDs of frostiful:base_frost_resistance/<slot_id> and frostiful:base_environment_frost_resistance/<slot_id>, respectively.
Base Values for Armor Types
| Armor Type | Base Frost Resistance | Base Environment Frost Resistance |
|---|---|---|
| Helmet | 1.5 | 0.25 |
| Chestplate | 2.0 | 0.5 |
| Leggings | 1.0 | 0.125 |
| Boots | 0.5 | 0.125 |
| Body | 4.0 | 1.0 |
0, then add attribute modifiers using mods like CIA or Default Components on minecraft:attribute_modifiers.