public static class PassiveEntity.PassiveData extends Object implements EntityData
Modifier and Type | Field and Description |
---|---|
private boolean |
babyAllowed |
private float |
babyChance |
private int |
spawnCount |
Modifier | Constructor and Description |
---|---|
|
PassiveData(boolean bool) |
private |
PassiveData(boolean bool,
float float2) |
|
PassiveData(float float2) |
Modifier and Type | Method and Description |
---|---|
boolean |
canSpawnBaby() |
void |
countSpawned() |
float |
getBabyChance() |
int |
getSpawnedCount() |
private int spawnCount
private final boolean babyAllowed
private final float babyChance