public class StartAttacking<E extends Mob>
extends Behavior<E>
bbt | |
net.minecraft.world.entity.ai.behavior.StartAttacking | |
net.minecraft.class_4824 | |
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 | (Function<E, Optional<? extends LivingEntity>> targetGetter) |
Method summary
Modifier and Type | Method | ||||||||||
---|---|---|---|---|---|---|---|---|---|---|---|
protected boolean |
| ||||||||||
protected void |
| ||||||||||
private void |
|