Class GoatAi
java.lang.Object
net.minecraft.world.entity.animal.goat.GoatAi
-
Field Summary
Modifier and TypeFieldDescriptionprivate static final UniformInt
static final float
static final float
static final float
static final int
static final int
static final int
static final int
static final int
private static final TargetingConditions
private static final float
private static final float
private static final float
private static final float
private static final float
private static final float
private static final UniformInt
private static final UniformInt
private static final UniformInt
-
Constructor Summary
-
Method Summary
Modifier and TypeMethodDescriptionprivate 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_218765_, RandomSource p_218766_) 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:
-
RAM_MAX_DISTANCE
public static final int RAM_MAX_DISTANCE- See Also:
-
ADULT_FOLLOW_RANGE
-
SPEED_MULTIPLIER_WHEN_IDLING
private static final float SPEED_MULTIPLIER_WHEN_IDLING- See Also:
-
SPEED_MULTIPLIER_WHEN_FOLLOWING_ADULT
private static final float SPEED_MULTIPLIER_WHEN_FOLLOWING_ADULT- See Also:
-
SPEED_MULTIPLIER_WHEN_TEMPTED
private static final float SPEED_MULTIPLIER_WHEN_TEMPTED- See Also:
-
SPEED_MULTIPLIER_WHEN_PANICKING
private static final float SPEED_MULTIPLIER_WHEN_PANICKING- See Also:
-
SPEED_MULTIPLIER_WHEN_PREPARING_TO_RAM
private static final float SPEED_MULTIPLIER_WHEN_PREPARING_TO_RAM- See Also:
-
TIME_BETWEEN_LONG_JUMPS
-
MAX_LONG_JUMP_HEIGHT
public static final int MAX_LONG_JUMP_HEIGHT- See Also:
-
MAX_LONG_JUMP_WIDTH
public static final int MAX_LONG_JUMP_WIDTH- See Also:
-
MAX_JUMP_VELOCITY_MULTIPLIER
public static final float MAX_JUMP_VELOCITY_MULTIPLIER- See Also:
-
TIME_BETWEEN_RAMS
-
TIME_BETWEEN_RAMS_SCREAMER
-
RAM_TARGET_CONDITIONS
-
SPEED_MULTIPLIER_WHEN_RAMMING
private static final float SPEED_MULTIPLIER_WHEN_RAMMING- See Also:
-
RAM_MIN_DISTANCE
public static final int RAM_MIN_DISTANCE- See Also:
-
ADULT_RAM_KNOCKBACK_FORCE
public static final float ADULT_RAM_KNOCKBACK_FORCE- See Also:
-
BABY_RAM_KNOCKBACK_FORCE
public static final float BABY_RAM_KNOCKBACK_FORCE- See Also:
-
-
Constructor Details
-
GoatAi
public GoatAi()
-
-
Method Details
-
initMemories
-
makeBrain
-
initCoreActivity
-
initIdleActivity
-
initLongJumpActivity
-
initRamActivity
-
updateActivity
-
getTemptations
-