yarn/mappings/net/minecraft/entity/passive/PassiveEntity.mapping

43 lines
1.5 KiB
Plaintext

CLASS net/minecraft/class_1296 net/minecraft/entity/passive/PassiveEntity
FIELD field_29969 BABY_AGE I
FIELD field_29970 HAPPY_TICKS I
FIELD field_5947 happyTicksRemaining I
FIELD field_5948 forcedAge I
FIELD field_5949 CHILD Lnet/minecraft/class_2940;
FIELD field_5950 breedingAge I
METHOD method_19184 isReadyToBreed ()Z
METHOD method_41321 toGrowUpAge (I)I
COMMENT Calculates the age to pass to {@link #growUp(int)} in seconds.
COMMENT
COMMENT @apiNote When passing the value from {@link #getBreedingAge()}, make sure to
COMMENT negate the value; otherwise, the entity's age will decrease.
ARG 0 breedingAge
COMMENT the current, negated breeding age (in ticks)
METHOD method_5613 createChild (Lnet/minecraft/class_3218;Lnet/minecraft/class_1296;)Lnet/minecraft/class_1296;
ARG 1 world
ARG 2 entity
METHOD method_5614 setBreedingAge (I)V
ARG 1 age
METHOD method_5615 growUp (I)V
ARG 1 age
METHOD method_5618 getBreedingAge ()I
METHOD method_5619 onGrowUp ()V
METHOD method_5620 growUp (IZ)V
ARG 1 age
ARG 2 overGrow
CLASS class_4697 PassiveData
FIELD field_20684 spawnCount I
FIELD field_20685 babyAllowed Z
FIELD field_20686 babyChance F
METHOD <init> (F)V
ARG 1 babyChance
METHOD <init> (Z)V
ARG 1 babyAllowed
METHOD <init> (ZF)V
ARG 1 babyAllowed
ARG 2 babyChance
METHOD method_22432 getSpawnedCount ()I
METHOD method_22435 countSpawned ()V
METHOD method_22436 canSpawnBaby ()Z
METHOD method_22437 getBabyChance ()F