类 NearestLivingEntitySensor<T extends LivingEntity>
java.lang.Object
net.minecraft.world.entity.ai.sensing.Sensor<T>
net.minecraft.world.entity.ai.sensing.NearestLivingEntitySensor<T>
- 直接已知子类:
WardenEntitySensor
-
字段概要
从类继承的字段 net.minecraft.world.entity.ai.sensing.Sensor
TARGETING_RANGE
-
构造器概要
构造器 -
方法概要
修饰符和类型方法说明protected void
doTick
(ServerLevel pLevel, T pEntity) protected int
radiusXZ()
protected int
radiusY()
Set<MemoryModuleType<?>>
requires()
从类继承的方法 net.minecraft.world.entity.ai.sensing.Sensor
isEntityAttackable, isEntityAttackableIgnoringLineOfSight, isEntityTargetable, tick
-
构造器详细资料
-
NearestLivingEntitySensor
public NearestLivingEntitySensor()
-
-
方法详细资料
-
doTick
- 指定者:
doTick
在类中Sensor<T extends LivingEntity>
-
radiusXZ
protected int radiusXZ() -
radiusY
protected int radiusY() -
requires
- 指定者:
requires
在类中Sensor<T extends LivingEntity>
-