net.minecraft.server.v1_14_R1

public class BehaviorInteract<E extends EntityLiving, T extends EntityLiving>

extends Behavior<E>

akg
net.minecraft.class_4106
net.minecraft.entity.ai.brain.task.FindEntityTask
net.minecraft.entity.ai.brain.task.InteractWithEntityTask
net.minecraft.server.v1_14_R1.BehaviorInteract

Field summary

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

Constructor summary

ModifierConstructor
public (EntityTypes<? extends T> arg0, int arg1, Predicate<E> arg2, Predicate<T> arg3, MemoryModuleType<T> arg4, float arg5, int arg6)

Method summary

Modifier and TypeMethod
public static <T extends EntityLiving> BehaviorInteract<EntityLiving, T>
a(aip<? extends T> arg0, int arg1, ape<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> arg0, int arg1, MemoryModuleType<T> arg2, float arg3, int arg4)
func_220445_a(EntityType<? extends T> arg0, int arg1, MemoryModuleType<T> arg2, float arg3, int arg4)
protected boolean
a(vi 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(vi 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)