Class GolemLastSeenSensor
java.lang.Object
net.minecraft.entity.ai.brain.sensor.Sensor<LivingEntity>
net.minecraft.entity.ai.brain.sensor.GolemLastSeenSensor
-
Constructor Summary
-
Method Summary
Modifier and TypeMethodDescriptionstatic void
checkForNearbyGolem
(LivingEntity p_242312_0_) protected void
doTick
(ServerWorld p_212872_1_, LivingEntity p_212872_2_) static void
golemDetected
(LivingEntity p_242313_0_) Set<MemoryModuleType<?>>
requires()
Methods inherited from class net.minecraft.entity.ai.brain.sensor.Sensor
isEntityTargetable, tick
-
Constructor Details
-
GolemLastSeenSensor
public GolemLastSeenSensor() -
GolemLastSeenSensor
public GolemLastSeenSensor(int p_i51525_1_)
-
-
Method Details
-
doTick
- Specified by:
doTick
in classSensor<LivingEntity>
-
requires
- Specified by:
requires
in classSensor<LivingEntity>
-
checkForNearbyGolem
-
golemDetected
-