DamageContainerReduction

Importing the class

If you need to reference this type directly, like when casting an Array, or as a parameter, you will need to import it. Simply add the import at the top of the file.

script.zs
import crafttweaker.neoforge.api.world.damage.DamageContainerReduction;

Implements

Undocumented Interfaces

Comparable<Enum>

Enum Constants

DamageContainerReduction is an enum with 4 constants. They are accessible like so:

script.zs
// DamageContainerReduction.ABSORPTION
<constant:neoforge:damage/reduction:absorption>
// DamageContainerReduction.ARMOR
<constant:neoforge:damage/reduction:armor>
// DamageContainerReduction.ENCHANTMENTS
<constant:neoforge:damage/reduction:enchantments>
// DamageContainerReduction.MOB_EFFECTS
<constant:neoforge:damage/reduction:mob_effects>