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 voidmethod_30233(LivingEntity livingEntity)protected voidsense(ServerWorld world, LivingEntity entity)static voidsenseIronGolem(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:
sensein classSensor<LivingEntity>
-
getOutputMemoryModules
- Specified by:
getOutputMemoryModulesin classSensor<LivingEntity>
-
senseIronGolem
-
method_30233
-