Class StartAttacking
java.lang.Object
net.minecraft.world.entity.ai.behavior.StartAttacking
-
Constructor Summary
-
Method Summary
Modifier and TypeMethodDescriptionstatic <E extends Mob>
BehaviorControl<E>create
(Function<E, Optional<? extends LivingEntity>> p_259868_) static <E extends Mob>
BehaviorControl<E>create
(Predicate<E> p_259618_, Function<E, Optional<? extends LivingEntity>> p_259435_)
-
Constructor Details
-
StartAttacking
public StartAttacking()
-
-
Method Details
-
create
public static <E extends Mob> BehaviorControl<E> create(Function<E, Optional<? extends LivingEntity>> p_259868_) -
create
public static <E extends Mob> BehaviorControl<E> create(Predicate<E> p_259618_, Function<E, Optional<? extends LivingEntity>> p_259435_)
-