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 senseInterval)
-
Method Summary
Modifier and Type Method Description Set<MemoryModuleType<?>>
getOutputMemoryModules()
static void
method_30233(LivingEntity livingEntity)
protected void
sense(ServerWorld world, LivingEntity entity)
static void
senseIronGolem(LivingEntity livingEntity)
Methods inherited from class net.minecraft.entity.ai.brain.sensor.Sensor
method_30954, tick
-
Constructor Details
-
GolemLastSeenSensor
public GolemLastSeenSensor() -
GolemLastSeenSensor
public GolemLastSeenSensor(int senseInterval)
-
-
Method Details
-
sense
- Specified by:
sense
in classSensor<LivingEntity>
-
getOutputMemoryModules
- Specified by:
getOutputMemoryModules
in classSensor<LivingEntity>
-
senseIronGolem
-
method_30233
-