Class FrogAi
java.lang.Object
net.minecraft.world.entity.animal.frog.FrogAi
-
Field Summary
Modifier and TypeFieldDescriptionprivate static final float
private static final int
private static final int
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
-
Constructor Summary
-
Method Summary
Modifier and TypeMethodDescriptionprivate static boolean
static Ingredient
private static void
initCoreActivity
(Brain<Frog> p_218587_) private static void
initIdleActivity
(Brain<Frog> p_218591_) private static void
initJumpActivity
(Brain<Frog> p_218603_) private static void
initLaySpawnActivity
(Brain<Frog> p_218599_) protected static void
initMemories
(Frog p_218580_, RandomSource p_218581_) private static void
initSwimActivity
(Brain<Frog> p_218595_) private static void
initTongueActivity
(Brain<Frog> p_218607_) protected static Brain<?>
static void
updateActivity
(Frog p_218578_)
-
Field Details
-
SPEED_MULTIPLIER_WHEN_PANICKING
private static final float SPEED_MULTIPLIER_WHEN_PANICKING- See Also:
-
SPEED_MULTIPLIER_WHEN_MAKING_LOVE
private static final float SPEED_MULTIPLIER_WHEN_MAKING_LOVE- See Also:
-
SPEED_MULTIPLIER_WHEN_IDLING
private static final float SPEED_MULTIPLIER_WHEN_IDLING- See Also:
-
SPEED_MULTIPLIER_ON_LAND
private static final float SPEED_MULTIPLIER_ON_LAND- See Also:
-
SPEED_MULTIPLIER_IN_WATER
private static final float SPEED_MULTIPLIER_IN_WATER- See Also:
-
TIME_BETWEEN_LONG_JUMPS
-
MAX_LONG_JUMP_HEIGHT
private static final int MAX_LONG_JUMP_HEIGHT- See Also:
-
MAX_LONG_JUMP_WIDTH
private static final int MAX_LONG_JUMP_WIDTH- See Also:
-
MAX_JUMP_VELOCITY
private static final float MAX_JUMP_VELOCITY- See Also:
-
SPEED_MULTIPLIER_WHEN_TEMPTED
private static final float SPEED_MULTIPLIER_WHEN_TEMPTED- See Also:
-
-
Constructor Details
-
FrogAi
public FrogAi()
-
-
Method Details
-
initMemories
-
makeBrain
-
initCoreActivity
-
initIdleActivity
-
initSwimActivity
-
initLaySpawnActivity
-
initJumpActivity
-
initTongueActivity
-
canAttack
-
updateActivity
-
getTemptations
-