类 AdultSensor
java.lang.Object
net.minecraft.world.entity.ai.sensing.Sensor<AgeableMob>
net.minecraft.world.entity.ai.sensing.AdultSensor
-
字段概要
从类继承的字段 net.minecraft.world.entity.ai.sensing.Sensor
TARGETING_RANGE
-
构造器概要
构造器 -
方法概要
修饰符和类型方法说明protected void
doTick
(ServerLevel pLevel, AgeableMob pEntity) Set<MemoryModuleType<?>>
requires()
private void
setNearestVisibleAdult
(AgeableMob pMob, NearestVisibleLivingEntities pNearbyEntities) 从类继承的方法 net.minecraft.world.entity.ai.sensing.Sensor
isEntityAttackable, isEntityAttackableIgnoringLineOfSight, isEntityTargetable, tick
-
构造器详细资料
-
AdultSensor
public AdultSensor()
-
-
方法详细资料
-
requires
- 指定者:
requires
在类中Sensor<AgeableMob>
-
doTick
- 指定者:
doTick
在类中Sensor<AgeableMob>
-
setNearestVisibleAdult
-