类 PlayerSensor
java.lang.Object
net.minecraft.world.entity.ai.sensing.Sensor<LivingEntity>
net.minecraft.world.entity.ai.sensing.PlayerSensor
-
构造器概要
构造器 -
方法概要
修饰符和类型方法说明protected void
doTick
(ServerLevel p_26740_, LivingEntity p_26741_) protected double
getFollowDistance
(LivingEntity p_369051_) Set
<MemoryModuleType<?>> requires()
从类继承的方法 net.minecraft.world.entity.ai.sensing.Sensor
isEntityAttackable, isEntityAttackableIgnoringLineOfSight, isEntityTargetable, rememberPositives, tick, wasEntityAttackableLastNTicks
-
构造器详细资料
-
PlayerSensor
public PlayerSensor()
-
-
方法详细资料
-
requires
- 指定者:
requires
在类中Sensor<LivingEntity>
-
doTick
- 指定者:
doTick
在类中Sensor<LivingEntity>
-
getFollowDistance
-