public class StartAttacking<E extends Mob>
extends Behavior<E>
bgb | |
net.minecraft.world.entity.ai.behavior.StartAttacking | |
net.minecraft.class_4824 | |
net.minecraft.unmapped.C_ulrbltvh | |
net.minecraft.entity.ai.brain.task.UpdateAttackTargetTask | |
net.minecraft.entity.ai.brain.task.UpdateAttackTargetTask | |
net.minecraft.src.C_633_ | |
net.minecraft.world.entity.ai.behavior.BehaviorAttackTargetSet |
Field summary
Modifier and Type | Field | ||||||||||||||
---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|
private final Predicate<E> |
| ||||||||||||||
private final Function<E, Optional<? extends LivingEntity>> |
|
Constructor summary
Modifier | Constructor |
---|---|
public | (Predicate<E> startCondition, Function<E, Optional<? extends LivingEntity>> targetGetter) |
public | (Predicate<E> startCondition, Function<E, Optional<? extends LivingEntity>> targetGetter, int duration) |
public | (Function<E, Optional<? extends LivingEntity>> targetGetter) |
Method summary
Modifier and Type | Method | ||||||||||||||
---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|
protected boolean |
| ||||||||||||||
protected void |
| ||||||||||||||
public static <E extends Mob> void |
|