Class WalkTowardsEntityTask
java.lang.Object
net.minecraft.entity.ai.brain.task.WalkTowardsEntityTask
- Mappings:
Namespace Name named net/minecraft/entity/ai/brain/task/WalkTowardsEntityTask
intermediary net/minecraft/class_5355
official cca
-
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionstatic SingleTickTask
<LivingEntity> create
(UniformIntProvider executionRange, Function<LivingEntity, Float> speed, MemoryModuleType<? extends LivingEntity> targetType, boolean eyeHeight) static SingleTickTask
<LivingEntity> createNearestVisibleAdult
(UniformIntProvider executionRange, float speed)
-
Constructor Details
-
WalkTowardsEntityTask
public WalkTowardsEntityTask()
-
-
Method Details
-
createNearestVisibleAdult
public static SingleTickTask<LivingEntity> createNearestVisibleAdult(UniformIntProvider executionRange, float speed) - Mappings:
Namespace Name Mixin selector named createNearestVisibleAdult
Lnet/minecraft/entity/ai/brain/task/WalkTowardsEntityTask;createNearestVisibleAdult(Lnet/minecraft/util/math/intprovider/UniformIntProvider;F)Lnet/minecraft/entity/ai/brain/task/SingleTickTask;
intermediary method_46896
Lnet/minecraft/class_5355;method_46896(Lnet/minecraft/class_6019;F)Lnet/minecraft/class_7894;
official a
Lcca;a(Lbwu;F)Lcdo;
-
create
public static SingleTickTask<LivingEntity> create(UniformIntProvider executionRange, Function<LivingEntity, Float> speed, MemoryModuleType<? extends LivingEntity> targetType, boolean eyeHeight) - Mappings:
Namespace Name Mixin selector named create
Lnet/minecraft/entity/ai/brain/task/WalkTowardsEntityTask;create(Lnet/minecraft/util/math/intprovider/UniformIntProvider;Ljava/util/function/Function;Lnet/minecraft/entity/ai/brain/MemoryModuleType;Z)Lnet/minecraft/entity/ai/brain/task/SingleTickTask;
intermediary method_46897
Lnet/minecraft/class_5355;method_46897(Lnet/minecraft/class_6019;Ljava/util/function/Function;Lnet/minecraft/class_4140;Z)Lnet/minecraft/class_7894;
official a
Lcca;a(Lbwu;Ljava/util/function/Function;Lcjo;Z)Lcdo;
-