Class WardenAi
java.lang.Object
net.minecraft.world.entity.monster.warden.WardenAi
-
Field Summary
Modifier and TypeFieldDescriptionprivate static final BehaviorControl
<Warden> static final int
private static final int
private static final int
static final int
private static final int
private static final List
<MemoryModuleType<?>> static final int
private static final List
<SensorType<? extends Sensor<? super Warden>>> private static final int
private static final float
private static final float
private static final float
-
Constructor Summary
-
Method Summary
Modifier and TypeMethodDescriptionprivate static void
initCoreActivity
(Brain<Warden> p_219511_) private static void
initDiggingActivity
(Brain<Warden> p_219532_) private static void
initEmergeActivity
(Brain<Warden> p_219527_) private static void
initFightActivity
(Warden p_219518_, Brain<Warden> p_219519_) private static void
initIdleActivity
(Brain<Warden> p_219537_) private static void
initInvestigateActivity
(Brain<Warden> p_219542_) private static void
initRoarActivity
(Brain<Warden> p_219546_) private static void
initSniffingActivity
(Brain<Warden> p_219544_) private static boolean
isTarget
(Warden p_219515_, LivingEntity p_219516_) protected static Brain
<?> private static void
onTargetInvalid
(Warden p_219529_, LivingEntity p_219530_) static void
setDigCooldown
(LivingEntity p_219506_) static void
setDisturbanceLocation
(Warden p_219524_, BlockPos p_219525_) static void
updateActivity
(Warden p_219513_)
-
Field Details
-
SPEED_MULTIPLIER_WHEN_IDLING
private static final float SPEED_MULTIPLIER_WHEN_IDLING- See Also:
-
SPEED_MULTIPLIER_WHEN_INVESTIGATING
private static final float SPEED_MULTIPLIER_WHEN_INVESTIGATING- See Also:
-
SPEED_MULTIPLIER_WHEN_FIGHTING
private static final float SPEED_MULTIPLIER_WHEN_FIGHTING- See Also:
-
MELEE_ATTACK_COOLDOWN
private static final int MELEE_ATTACK_COOLDOWN- See Also:
-
DIGGING_DURATION
private static final int DIGGING_DURATION -
EMERGE_DURATION
public static final int EMERGE_DURATION -
ROAR_DURATION
public static final int ROAR_DURATION -
SNIFFING_DURATION
private static final int SNIFFING_DURATION -
DIGGING_COOLDOWN
public static final int DIGGING_COOLDOWN- See Also:
-
DISTURBANCE_LOCATION_EXPIRY_TIME
private static final int DISTURBANCE_LOCATION_EXPIRY_TIME- See Also:
-
SENSOR_TYPES
-
MEMORY_TYPES
-
DIG_COOLDOWN_SETTER
-
-
Constructor Details
-
WardenAi
public WardenAi()
-
-
Method Details
-
updateActivity
-
makeBrain
-
initCoreActivity
-
initEmergeActivity
-
initDiggingActivity
-
initIdleActivity
-
initInvestigateActivity
-
initSniffingActivity
-
initRoarActivity
-
initFightActivity
-
isTarget
-
onTargetInvalid
-
setDigCooldown
-
setDisturbanceLocation
-