Description
This mod wouldn't be possible without NerdyPuzzle's Attributes (Nerdy Edition) plugin for Mcreator.
Hoth's RPG Damage Attributes adds a collection of Damage Attributes and a single game rule; this gamerule allows modpack makers to see what damage type a damage source deals for the purposes of some of the damage attributes added by this mod.
The following damage attributes trigger based on what the entity is doing during the time they are deal damage.
- hoths_rpg_damage_attributes:crouching_damage (triggers when the entity is sneaking)
- hoths_rpg_damage_attributes:jumping_damage (triggers when the entity isn't on the ground)
- hoths_rpg_damage_attributes:one_handed_damage (triggers when either both hands of the entity are empty or when the main-hand is empty while the off-hand isn't empty)
- hoths_rpg_damage_attributes:sprinting_damage (triggers when the entity is sprinting)
- hoths_rpg_damage_attributes:standing_damage (triggers when the entity is on the ground)
- hoths_rpg_damage_attributes:swimming_damage (triggers when the entity is swimming)
- hoths_rpg_damage_attributes:two_handed_damage (triggers when the main-hand of the entity isn't empty while the off-hand of the entity is empty)
- hoths_rpg_damage_attributes:unarmed_damage (triggers when both hands of the entity are empty)
- hoths_rpg_damage_attributes:unarmored_damage (triggers all 4 of the vanilla armor slots of the entity are empty)
The following damage attributes trigger based on what damage type of the damage being dealt.
- hoths_rpg_damage_attributes:arrow_damage (arrow)
- hoths_rpg_damage_attributes:explosionplayer_damage (explosion.player)
- hoths_rpg_damage_attributes:fireball_damage (fireball)
- hoths_rpg_damage_attributes:fireworks_damage (fireworks)
- hoths_rpg_damage_attributes:indirectmagic_damage (indirectMagic)
- hoths_rpg_damage_attributes:mob_damage (mob)
- hoths_rpg_damage_attributes:thrown_damage (thrown)
- hoths_rpg_damage_attributes:trident_damage (trident)
- hoths_rpg_damage_attributes:wither_skull_damage (witherSkull)
If there is you have any damage attribute suggestions of either a specific mod support or a vanilla mechanic I forgot, please don't be afraid to comment and I will do my best to improve my mods.


