类 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
-
字段概要
字段 -
构造器概要
构造器 -
方法概要
修饰符和类型方法说明protected MemoryModuleType
<LivingEntity> protected boolean
isMatchingEntity
(ServerLevel p_376635_, LivingEntity p_217810_, LivingEntity p_217811_) private boolean
isUnreachableAttackTarget
(LivingEntity p_238336_, LivingEntity p_238337_) 从类继承的方法 net.minecraft.world.entity.ai.sensing.NearestVisibleLivingEntitySensor
doTick, getVisibleEntities, requires
从类继承的方法 net.minecraft.world.entity.ai.sensing.Sensor
isEntityAttackable, isEntityAttackableIgnoringLineOfSight, isEntityTargetable, rememberPositives, tick, wasEntityAttackableLastNTicks
-
字段详细资料
-
TARGET_DETECTION_DISTANCE
public static final float TARGET_DETECTION_DISTANCE- 另请参阅:
-
-
构造器详细资料
-
FrogAttackablesSensor
public FrogAttackablesSensor()
-
-
方法详细资料
-
isMatchingEntity
protected boolean isMatchingEntity(ServerLevel p_376635_, LivingEntity p_217810_, LivingEntity p_217811_) -
isUnreachableAttackTarget
-
getMemory
-