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