Class HurtBySensor
java.lang.Object
net.minecraft.entity.ai.brain.sensor.Sensor<LivingEntity>
net.minecraft.entity.ai.brain.sensor.HurtBySensor
public class HurtBySensor extends Sensor<LivingEntity>
-
Constructor Summary
Constructors Constructor Description HurtBySensor() -
Method Summary
Modifier and Type Method Description Set<MemoryModuleType<?>>getOutputMemoryModules()protected voidsense(ServerWorld world, LivingEntity entity)Methods inherited from class net.minecraft.entity.ai.brain.sensor.Sensor
method_30954, tick
-
Constructor Details
-
HurtBySensor
public HurtBySensor()
-
-
Method Details
-
getOutputMemoryModules
- Specified by:
getOutputMemoryModulesin classSensor<LivingEntity>
-
sense
- Specified by:
sensein classSensor<LivingEntity>
-