Class GoatAi
java.lang.Object
net.minecraft.world.entity.animal.goat.GoatAi
-
Field Summary
Modifier and TypeFieldDescriptionprivate static UniformInt
static float
static float
static float
static int
static int
static int
static int
static int
private static TargetingConditions
private static float
private static float
private static float
private static float
private static float
private static float
private static float
private static UniformInt
private static UniformInt
private static UniformInt
-
Constructor Summary
-
Method Summary
Modifier and TypeMethodDescriptionstatic Ingredient
private static void
initCoreActivity(Brain<Goat> p_149454_)
private static void
initIdleActivity(Brain<Goat> p_149458_)
private static void
initLongJumpActivity(Brain<Goat> p_149462_)
protected static void
initMemories(Goat p_149450_)
private static void
initRamActivity(Brain<Goat> p_149466_)
protected static Brain<?>
static void
updateActivity(Goat p_149456_)
-
Field Details
-
RAM_PREPARE_TIME
public static final int RAM_PREPARE_TIME- See Also:
- Constant Field Values
-
RAM_MAX_DISTANCE
public static final int RAM_MAX_DISTANCE- See Also:
- Constant Field Values
-
ADULT_FOLLOW_RANGE
-
SPEED_MULTIPLIER_WHEN_MAKING_LOVE
private static final float SPEED_MULTIPLIER_WHEN_MAKING_LOVE- See Also:
- Constant Field Values
-
SPEED_MULTIPLIER_WHEN_IDLING
private static final float SPEED_MULTIPLIER_WHEN_IDLING- See Also:
- Constant Field Values
-
SPEED_MULTIPLIER_WHEN_FOLLOWING_ADULT
private static final float SPEED_MULTIPLIER_WHEN_FOLLOWING_ADULT- See Also:
- Constant Field Values
-
SPEED_MULTIPLIER_WHEN_TEMPTED
private static final float SPEED_MULTIPLIER_WHEN_TEMPTED- See Also:
- Constant Field Values
-
SPEED_MULTIPLIER_WHEN_PANICKING
private static final float SPEED_MULTIPLIER_WHEN_PANICKING- See Also:
- Constant Field Values
-
SPEED_MULTIPLIER_WHEN_PREPARING_TO_RAM
private static final float SPEED_MULTIPLIER_WHEN_PREPARING_TO_RAM- See Also:
- Constant Field Values
-
TIME_BETWEEN_LONG_JUMPS
-
MAX_LONG_JUMP_HEIGHT
public static final int MAX_LONG_JUMP_HEIGHT- See Also:
- Constant Field Values
-
MAX_LONG_JUMP_WIDTH
public static final int MAX_LONG_JUMP_WIDTH- See Also:
- Constant Field Values
-
MAX_JUMP_VELOCITY
public static final float MAX_JUMP_VELOCITY- See Also:
- Constant Field Values
-
TIME_BETWEEN_RAMS
-
TIME_BETWEEN_RAMS_SCREAMER
-
RAM_TARGET_CONDITIONS
-
SPEED_MULTIPLIER_WHEN_RAMMING
private static final float SPEED_MULTIPLIER_WHEN_RAMMING- See Also:
- Constant Field Values
-
RAM_MIN_DISTANCE
public static final int RAM_MIN_DISTANCE- See Also:
- Constant Field Values
-
ADULT_RAM_KNOCKBACK_FORCE
public static final float ADULT_RAM_KNOCKBACK_FORCE- See Also:
- Constant Field Values
-
BABY_RAM_KNOCKBACK_FORCE
public static final float BABY_RAM_KNOCKBACK_FORCE- See Also:
- Constant Field Values
-
-
Constructor Details
-
GoatAi
public GoatAi()
-
-
Method Details
-
initMemories
-
makeBrain
-
initCoreActivity
-
initIdleActivity
-
initLongJumpActivity
-
initRamActivity
-
updateActivity
-
getTemptations
-