Interface DamageResistant
Holds the contents of damage types that the item entity containing this item is invincible to.
- See Also:
-
Method Summary
Modifier and TypeMethodDescriptionstatic DamageResistantdamageResistant(RegistryKeySet<DamageType> types) types()The types that this damage type is invincible to.
-
Method Details
-
damageResistant
@Contract(value="_ -> new", pure=true) static DamageResistant damageResistant(RegistryKeySet<DamageType> types) -
types
The types that this damage type is invincible to.- Returns:
- the registry key set holding the respective damage types.
-