Package net.minecraft.entity.passive
Class PassiveEntity.PassiveData
java.lang.Object
net.minecraft.entity.passive.PassiveEntity.PassiveData
- All Implemented Interfaces:
EntityData
- Direct Known Subclasses:
AxolotlEntity.AxolotlData
,FoxEntity.FoxData
,HorseEntity.HorseData
,LlamaEntity.LlamaData
,RabbitEntity.RabbitData
,WolfEntity.WolfData
- Enclosing class:
PassiveEntity
- Mappings:
Namespace Name named net/minecraft/entity/passive/PassiveEntity$PassiveData
intermediary net/minecraft/class_1296$class_4697
official bva$a
-
Field Summary
Modifier and TypeFieldDescriptionprivate final boolean
private final float
private int
-
Constructor Summary
ConstructorDescriptionPassiveData
(boolean babyAllowed) PassiveData
(boolean babyAllowed, float babyChance) PassiveData
(float babyChance) -
Method Summary
Modifier and TypeMethodDescriptionboolean
void
float
int
-
Field Details
-
spawnCount
private int spawnCount- Mappings:
Namespace Name Mixin selector named spawnCount
Lnet/minecraft/entity/passive/PassiveEntity$PassiveData;spawnCount:I
intermediary field_20684
Lnet/minecraft/class_1296$class_4697;field_20684:I
official a
Lbva$a;a:I
-
babyAllowed
private final boolean babyAllowed- Mappings:
Namespace Name Mixin selector named babyAllowed
Lnet/minecraft/entity/passive/PassiveEntity$PassiveData;babyAllowed:Z
intermediary field_20685
Lnet/minecraft/class_1296$class_4697;field_20685:Z
official b
Lbva$a;b:Z
-
babyChance
private final float babyChance- Mappings:
Namespace Name Mixin selector named babyChance
Lnet/minecraft/entity/passive/PassiveEntity$PassiveData;babyChance:F
intermediary field_20686
Lnet/minecraft/class_1296$class_4697;field_20686:F
official c
Lbva$a;c:F
-
-
Constructor Details
-
PassiveData
public PassiveData(boolean babyAllowed, float babyChance) - Mappings:
Namespace Name Mixin selector named <init>
Lnet/minecraft/entity/passive/PassiveEntity$PassiveData;<init>(ZF)V
intermediary <init>
Lnet/minecraft/class_1296$class_4697;<init>(ZF)V
official <init>
Lbva$a;<init>(ZF)V
-
PassiveData
public PassiveData(boolean babyAllowed) - Mappings:
Namespace Name Mixin selector named <init>
Lnet/minecraft/entity/passive/PassiveEntity$PassiveData;<init>(Z)V
intermediary <init>
Lnet/minecraft/class_1296$class_4697;<init>(Z)V
official <init>
Lbva$a;<init>(Z)V
-
PassiveData
public PassiveData(float babyChance) - Mappings:
Namespace Name Mixin selector named <init>
Lnet/minecraft/entity/passive/PassiveEntity$PassiveData;<init>(F)V
intermediary <init>
Lnet/minecraft/class_1296$class_4697;<init>(F)V
official <init>
Lbva$a;<init>(F)V
-
-
Method Details
-
getSpawnedCount
public int getSpawnedCount()- Mappings:
Namespace Name Mixin selector named getSpawnedCount
Lnet/minecraft/entity/passive/PassiveEntity$PassiveData;getSpawnedCount()I
intermediary method_22432
Lnet/minecraft/class_1296$class_4697;method_22432()I
official a
Lbva$a;a()I
-
countSpawned
public void countSpawned()- Mappings:
Namespace Name Mixin selector named countSpawned
Lnet/minecraft/entity/passive/PassiveEntity$PassiveData;countSpawned()V
intermediary method_22435
Lnet/minecraft/class_1296$class_4697;method_22435()V
official b
Lbva$a;b()V
-
canSpawnBaby
public boolean canSpawnBaby()- Mappings:
Namespace Name Mixin selector named canSpawnBaby
Lnet/minecraft/entity/passive/PassiveEntity$PassiveData;canSpawnBaby()Z
intermediary method_22436
Lnet/minecraft/class_1296$class_4697;method_22436()Z
official c
Lbva$a;c()Z
-
getBabyChance
public float getBabyChance()- Mappings:
Namespace Name Mixin selector named getBabyChance
Lnet/minecraft/entity/passive/PassiveEntity$PassiveData;getBabyChance()F
intermediary method_22437
Lnet/minecraft/class_1296$class_4697;method_22437()F
official d
Lbva$a;d()F
-