Class GolemSensor
java.lang.Object
net.minecraft.world.entity.ai.sensing.Sensor<LivingEntity>
net.minecraft.world.entity.ai.sensing.GolemSensor
-
Field Summary
Modifier and TypeFieldDescriptionprivate static final int
private static final int
Fields inherited from class net.minecraft.world.entity.ai.sensing.Sensor
TARGETING_RANGE
-
Constructor Summary
-
Method Summary
Modifier and TypeMethodDescriptionstatic void
checkForNearbyGolem
(LivingEntity p_26648_) protected void
doTick
(ServerLevel p_26645_, LivingEntity p_26646_) static void
golemDetected
(LivingEntity p_26650_) Set
<MemoryModuleType<?>> requires()
Methods inherited from class net.minecraft.world.entity.ai.sensing.Sensor
isEntityAttackable, isEntityAttackableIgnoringLineOfSight, isEntityTargetable, tick
-
Field Details
-
GOLEM_SCAN_RATE
private static final int GOLEM_SCAN_RATE- See Also:
-
MEMORY_TIME_TO_LIVE
private static final int MEMORY_TIME_TO_LIVE- See Also:
-
-
Constructor Details
-
GolemSensor
public GolemSensor() -
GolemSensor
public GolemSensor(int p_26642_)
-
-
Method Details
-
doTick
- Specified by:
doTick
in classSensor<LivingEntity>
-
requires
- Specified by:
requires
in classSensor<LivingEntity>
-
checkForNearbyGolem
-
golemDetected
-