Class SnifferAi
java.lang.Object
net.minecraft.world.entity.animal.sniffer.SnifferAi
-
Nested Class Summary
Modifier and TypeClassDescription(package private) static class
(package private) static class
(package private) static class
(package private) static class
(package private) static class
(package private) static class
-
Field Summary
Modifier and TypeFieldDescriptionprivate static final org.slf4j.Logger
private static final int
(package private) static final List<MemoryModuleType<?>>
(package private) static final List<SensorType<? extends Sensor<? super Sniffer>>>
private static final int
private static final float
private static final float
private static final float
private static final float
-
Constructor Summary
-
Method Summary
Modifier and TypeMethodDescriptionstatic Ingredient
private static void
initCoreActivity
(Brain<Sniffer> p_273185_) private static void
initDigActivity
(Brain<Sniffer> p_273677_) private static void
initIdleActivity
(Brain<Sniffer> p_273750_) private static void
initSniffingActivity
(Brain<Sniffer> p_273183_) protected static Brain<?>
(package private) static Sniffer
resetSniffing
(Sniffer p_279301_) (package private) static void
updateActivity
(Sniffer p_273301_)
-
Field Details
-
LOGGER
private static final org.slf4j.Logger LOGGER -
MAX_LOOK_DISTANCE
private static final int MAX_LOOK_DISTANCE- See Also:
-
SENSOR_TYPES
-
MEMORY_TYPES
-
SNIFFING_COOLDOWN_TICKS
private static final int SNIFFING_COOLDOWN_TICKS- See Also:
-
SPEED_MULTIPLIER_WHEN_IDLING
private static final float SPEED_MULTIPLIER_WHEN_IDLING- See Also:
-
SPEED_MULTIPLIER_WHEN_PANICKING
private static final float SPEED_MULTIPLIER_WHEN_PANICKING- See Also:
-
SPEED_MULTIPLIER_WHEN_SNIFFING
private static final float SPEED_MULTIPLIER_WHEN_SNIFFING- See Also:
-
SPEED_MULTIPLIER_WHEN_TEMPTED
private static final float SPEED_MULTIPLIER_WHEN_TEMPTED- See Also:
-
-
Constructor Details
-
SnifferAi
public SnifferAi()
-
-
Method Details
-
getTemptations
-
makeBrain
-
resetSniffing
-
initCoreActivity
-
initSniffingActivity
-
initDigActivity
-
initIdleActivity
-
updateActivity
-