public class HurtBySensor extends Sensor<LivingEntity>
Constructor and Description |
---|
HurtBySensor() |
Modifier and Type | Method and Description |
---|---|
Set<MemoryModuleType<?>> |
getOutputMemoryModules() |
protected void |
sense(ServerWorld world,
LivingEntity entity) |
method_30954, tick
public Set<MemoryModuleType<?>> getOutputMemoryModules()
getOutputMemoryModules
in class Sensor<LivingEntity>
protected void sense(ServerWorld world, LivingEntity entity)
sense
in class Sensor<LivingEntity>