Class BreezeAttackEntitySensor
java.lang.Object
net.minecraft.world.entity.ai.sensing.Sensor<Breeze>
net.minecraft.world.entity.ai.sensing.NearestLivingEntitySensor<Breeze>
net.minecraft.world.entity.ai.sensing.BreezeAttackEntitySensor
-
Field Summary
Fields inherited from class net.minecraft.world.entity.ai.sensing.Sensor
TARGETING_RANGE
-
Constructor Summary
-
Method Summary
Modifier and TypeMethodDescriptionprotected void
doTick
(ServerLevel p_312447_, Breeze p_312739_) protected int
radiusXZ()
protected int
radiusY()
Set
<MemoryModuleType<?>> requires()
Methods inherited from class net.minecraft.world.entity.ai.sensing.Sensor
isEntityAttackable, isEntityAttackableIgnoringLineOfSight, isEntityTargetable, tick
-
Field Details
-
BREEZE_SENSOR_RADIUS
public static final int BREEZE_SENSOR_RADIUS- See Also:
-
-
Constructor Details
-
BreezeAttackEntitySensor
public BreezeAttackEntitySensor()
-
-
Method Details
-
requires
- Overrides:
requires
in classNearestLivingEntitySensor<Breeze>
-
doTick
- Overrides:
doTick
in classNearestLivingEntitySensor<Breeze>
-
radiusXZ
protected int radiusXZ()- Overrides:
radiusXZ
in classNearestLivingEntitySensor<Breeze>
-
radiusY
protected int radiusY()- Overrides:
radiusY
in classNearestLivingEntitySensor<Breeze>
-