net.minecraft.world.entity.ai.sensing

public abstract class Sensor<E extends LivingEntity>

azb
net.minecraft.world.entity.ai.sensing.Sensor
net.minecraft.class_4148
net.minecraft.entity.ai.brain.sensor.Sensor
net.minecraft.entity.ai.brain.sensor.Sensor
net.minecraft.server.v1_16_R3.Sensor

Field summary

Modifier and TypeField
private static final Random
a
RANDOM
field_19294
RANDOM
field_223022_a
private static final TargetingConditions
b
TARGET_CONDITIONS
field_26630
field_26630
field_242314_b
private static final TargetingConditions
c
TARGET_CONDITIONS_IGNORE_INVISIBILITY_TESTING
field_26631
field_26631
field_242315_c
private final int
d
scanRate
field_18464
senseInterval
field_220976_b
private long
e
timeToTick
field_18463
lastSenseTime
field_223023_c

Constructor summary

ModifierConstructor
public (int senseInterval)
public ()

Method summary

Modifier and TypeMethod
public final void
b(aag arg0, E arg1)
tick(ServerLevel arg0, E arg1)
method_19100(class_3218 arg0, E arg1)
tick(ServerWorld world, E entity)
func_220973_b(ServerWorld arg0, E arg1)
protected abstract void
a(aag arg0, E arg1)
doTick(ServerLevel arg0, E arg1)
method_19101(class_3218 arg0, E arg1)
sense(ServerWorld world, E entity)
func_212872_a_(ServerWorld arg0, E arg1)
public abstract Set<MemoryModuleType<?>>
a()
requires()
method_19099()
getOutputMemoryModules()
func_220974_a()
protected static boolean
a(aqm arg0, aqm arg1)
isEntityTargetable(LivingEntity arg0, LivingEntity arg1)
method_30954(class_1309 arg0, class_1309 arg1)
method_30954(LivingEntity arg0, LivingEntity arg1)
func_242316_a(LivingEntity arg0, LivingEntity arg1)