net.minecraft.world.entity.ai.behavior

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

extends Behavior<E>

aso
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_16_R3.BehaviorInteract

Field summary

Modifier and TypeField
private final int
b
maxDist
field_18355
f_belnqhrk
completionRange
field_220446_a
private final float
c
speedModifier
field_18356
f_csewcdsn
speed
field_220447_b
private final EntityType<? extends T>
d
type
field_18357
f_ylzlyurk
entityType
field_220448_c
private final int
e
interactionRangeSqr
field_18358
f_vrxpagxq
maxSquaredDistance
field_220449_d
private final Predicate<T>
f
targetFilter
field_18359
f_pijqyfap
predicate
field_220450_e
private final Predicate<E>
g
selfFilter
field_18360
f_nsfqzpvj
shouldRunPredicate
field_220451_f
private final MemoryModuleType<T>
h
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(aqe<? extends T> arg0, int arg1, ayd<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_fhzoulmm(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(aag 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)
private boolean
a(E arg0)
seesAtLeastOneValidTarget(E arg0)
method_24582(E arg0)
m_bampvqut(E arg0)
method_24582(E arg0)
func_233913_a_(E arg0)
private boolean
b(aqm arg0)
isTargetValid(LivingEntity arg0)
method_24583(class_1309 arg0)
m_lznleigy(C_usxaxydn arg0)
method_24583(LivingEntity arg0)
func_233914_b_(LivingEntity arg0)
protected void
a(aag 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)