net.minecraft.entity.ai.brain.sensor

public class GolemLastSeenSensor

extends Sensor<LivingEntity>

net.minecraft.world.entity.ai.sensing.GolemSensor
net.minecraft.class_4307
net.minecraft.entity.ai.brain.sensor.GolemLastSeenSensor

Field summary

Modifier and TypeField
private static final int
GOLEM_SCAN_RATE
field_30249
RUN_TIME
private static final int
MEMORY_TIME_TO_LIVE
field_30250
GOLEM_DETECTED_WARMUP

Constructor summary

ModifierConstructor
public ()
public (int scanRate)

Method summary

Modifier and TypeMethod
protected void
doTick(ServerLevel level, LivingEntity body)
method_19101(class_3218 arg0, class_1309 arg1)
sense(ServerWorld arg0, LivingEntity arg1)
public Set<MemoryModuleType<?>>
requires()
method_19099()
getOutputMemoryModules()
public static void
checkForNearbyGolem(LivingEntity body)
method_20656(class_1309 arg0)
senseIronGolem(LivingEntity entity)
public static void
golemDetected(LivingEntity body)
method_30233(class_1309 arg0)
rememberIronGolem(LivingEntity entity)
private static boolean
lambda$checkForNearbyGolem$0(LivingEntity arg0)
method_20657(class_1309 arg0)
method_20657(LivingEntity seenEntity)