LivingTargetType

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.event.entity.living.target.LivingTargetType;

Implements

LivingTargetType implements the following interfaces:

ILivingTargetType

Undocumented Interfaces

Comparable<Enum>

Enum Constants

LivingTargetType is an enum with 2 constants. They are accessible like so:

script.zs
// LivingTargetType.BEHAVIOR_TARGET
<constant:neoforge:event/living/target/type:behavior_target>
// LivingTargetType.MOB_TARGET
<constant:neoforge:event/living/target/type:mob_target>