类 AxolotlAttackablesSensor
java.lang.Object
net.minecraft.world.entity.ai.sensing.Sensor<LivingEntity>
net.minecraft.world.entity.ai.sensing.NearestVisibleLivingEntitySensor
net.minecraft.world.entity.ai.sensing.AxolotlAttackablesSensor
-
字段概要
字段 -
构造器概要
构造器 -
方法概要
修饰符和类型方法说明protected MemoryModuleType
<LivingEntity> private boolean
isClose
(LivingEntity p_148275_, LivingEntity p_148276_) private boolean
isHostileTarget
(LivingEntity p_148270_) private boolean
isHuntTarget
(LivingEntity p_148272_, LivingEntity p_148273_) protected boolean
isMatchingEntity
(ServerLevel p_369264_, LivingEntity p_148266_, LivingEntity p_148267_) 从类继承的方法 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- 另请参阅:
-
-
构造器详细资料
-
AxolotlAttackablesSensor
public AxolotlAttackablesSensor()
-
-
方法详细资料
-
isMatchingEntity
protected boolean isMatchingEntity(ServerLevel p_369264_, LivingEntity p_148266_, LivingEntity p_148267_) -
isHuntTarget
-
isHostileTarget
-
isClose
-
getMemory
-