net.minecraft.world.entity.ai.behavior

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

extends Behavior<E>

akk
net.minecraft.world.entity.ai.behavior.InteractWith
net.minecraft.class_4106
net.minecraft.unmapped.C_vqdfssau
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
maxDist
field_18355
f_belnqhrk
completionRange
field_220446_a
private final float
b
speed
field_18356
f_ksagwqmg
speed
field_220447_b
private final EntityType<? extends T>
c
type
field_18357
f_ylzlyurk
entityType
field_220448_c
private final int
d
interactionRangeSqr
field_18358
f_vrxpagxq
maxSquaredDistance
field_220449_d
private final Predicate<T>
e
targetFilter
field_18359
f_pijqyfap
predicate
field_220450_e
private final Predicate<E>
f
selfFilter
field_18360
f_nsfqzpvj
shouldRunPredicate
field_220451_f
private final MemoryModuleType<T>
g
memory
field_18361
f_ymkncrdy
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(ais<? extends T> arg0, int arg1, apj<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)
m_tpyzpnov(C_ogavsvbr<? extends T> arg0, int arg1, C_vbbyoqyw<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(vk arg0, E arg1)
checkExtraStartConditions(ServerLevel arg0, E arg1)
method_18919(class_3218 arg0, E arg1)
m_pwowjghk(C_bdwnwhiu arg0, E arg1)
shouldRun(ServerWorld arg0, E arg1)
func_212832_a_(ServerWorld arg0, E arg1)
protected void
a(vk arg0, E arg1, long arg2)
start(ServerLevel arg0, E arg1, long arg2)
method_18920(class_3218 arg0, E arg1, long arg2)
m_thxoqxcz(C_bdwnwhiu arg0, E arg1, long arg2)
run(ServerWorld arg0, E arg1, long arg2)
func_212831_a_(ServerWorld arg0, E arg1, long arg2)