类 GolemSensor
java.lang.Object
net.minecraft.world.entity.ai.sensing.Sensor<LivingEntity>
net.minecraft.world.entity.ai.sensing.GolemSensor
-
字段概要
字段 -
构造器概要
构造器 -
方法概要
修饰符和类型方法说明static void
checkForNearbyGolem
(LivingEntity p_26648_) protected void
doTick
(ServerLevel p_26645_, LivingEntity p_26646_) static void
golemDetected
(LivingEntity p_26650_) Set
<MemoryModuleType<?>> requires()
从类继承的方法 net.minecraft.world.entity.ai.sensing.Sensor
isEntityAttackable, isEntityAttackableIgnoringLineOfSight, isEntityTargetable, rememberPositives, tick, wasEntityAttackableLastNTicks
-
字段详细资料
-
GOLEM_SCAN_RATE
private static final int GOLEM_SCAN_RATE- 另请参阅:
-
MEMORY_TIME_TO_LIVE
private static final int MEMORY_TIME_TO_LIVE- 另请参阅:
-
-
构造器详细资料
-
GolemSensor
public GolemSensor() -
GolemSensor
public GolemSensor(int p_26642_)
-
-
方法详细资料
-
doTick
- 指定者:
doTick
在类中Sensor<LivingEntity>
-
requires
- 指定者:
requires
在类中Sensor<LivingEntity>
-
checkForNearbyGolem
-
golemDetected
-