Class FrogAttackablesSensor
java.lang.Object
net.minecraft.world.entity.ai.sensing.Sensor<LivingEntity>
net.minecraft.world.entity.ai.sensing.NearestVisibleLivingEntitySensor
net.minecraft.world.entity.ai.sensing.FrogAttackablesSensor
-
Field Summary
Fields inherited from class net.minecraft.world.entity.ai.sensing.Sensor
TARGETING_RANGE
-
Constructor Summary
-
Method Summary
Modifier and TypeMethodDescriptionprotected MemoryModuleType
<LivingEntity> protected boolean
isMatchingEntity
(LivingEntity p_217810_, LivingEntity p_217811_) private boolean
isUnreachableAttackTarget
(LivingEntity p_238336_, LivingEntity p_238337_) Methods inherited from class net.minecraft.world.entity.ai.sensing.NearestVisibleLivingEntitySensor
doTick, getVisibleEntities, requires
Methods inherited from class net.minecraft.world.entity.ai.sensing.Sensor
isEntityAttackable, isEntityAttackableIgnoringLineOfSight, isEntityTargetable, tick
-
Field Details
-
TARGET_DETECTION_DISTANCE
public static final float TARGET_DETECTION_DISTANCE- See Also:
-
-
Constructor Details
-
FrogAttackablesSensor
public FrogAttackablesSensor()
-
-
Method Details
-
isMatchingEntity
- Specified by:
isMatchingEntity
in classNearestVisibleLivingEntitySensor
-
isUnreachableAttackTarget
-
getMemory
- Specified by:
getMemory
in classNearestVisibleLivingEntitySensor
-