net.minecraft.world.entity.ai.behavior

public class InteractWith<E extends LivingEntity, T extends LivingEntity>

extends Behavior<E>

amn
net.minecraft.world.entity.ai.behavior.InteractWith
net.minecraft.class_4106
net.minecraft.entity.ai.brain.task.FindEntityTask
net.minecraft.entity.ai.brain.task.InteractWithEntityTask
net.minecraft.server.v1_15_R1.BehaviorInteract

Field summary

Modifier and TypeField
private final int
a
maxDist
field_18355
completionRange
field_220446_a
private final float
b
speed
field_18356
speed
field_220447_b
private final EntityType<? extends T>
c
type
field_18357
entityType
field_220448_c
private final int
d
interactionRangeSqr
field_18358
maxSquaredDistance
field_220449_d
private final Predicate<T>
e
targetFilter
field_18359
predicate
field_220450_e
private final Predicate<E>
f
selfFilter
field_18360
shouldRunPredicate
field_220451_f
private final MemoryModuleType<T>
g
memory
field_18361
targetModule
field_220452_g

Constructor summary

ModifierConstructor
public (EntityType<? extends T> entityType, int maxDistance, Predicate<E> shouldRunPredicate, Predicate<T> predicate, MemoryModuleType<T> targetModule, float speed, int completionRange)

Method summary

Modifier and TypeMethod
public static <T extends LivingEntity> InteractWith<LivingEntity, T>
a(aku<? extends T> arg0, int arg1, arl<T> arg2, float arg3, int arg4)
of(EntityType<? extends T> arg0, int arg1, MemoryModuleType<T> arg2, float arg3, int arg4)
method_18941(class_1299<? extends T> arg0, int arg1, class_4140<T> arg2, float arg3, int arg4)
create(EntityType<? extends T> entityType, int maxDistance, MemoryModuleType<T> targetModule, float speed, int completionRange)
func_220445_a(EntityType<? extends T> arg0, int arg1, MemoryModuleType<T> arg2, float arg3, int arg4)
protected boolean
a(xd arg0, E arg1)
checkExtraStartConditions(ServerLevel arg0, E arg1)
method_18919(class_3218 arg0, E arg1)
shouldRun(ServerWorld arg0, E arg1)
func_212832_a_(ServerWorld arg0, E arg1)
protected void
a(xd arg0, E arg1, long arg2)
start(ServerLevel arg0, E arg1, long arg2)
method_18920(class_3218 arg0, E arg1, long arg2)
run(ServerWorld arg0, E arg1, long arg2)
func_212831_a_(ServerWorld arg0, E arg1, long arg2)