| Modifier and Type | Field and Description |
|---|---|
private double |
gravityLimit |
private double |
mass |
| Constructor and Description |
|---|
SpawnDensity(double gravityLimit,
double mass) |
| Modifier and Type | Method and Description |
|---|---|
double |
getGravityLimit()
Represents the cap of gravity as in
GravityField.calculate(BlockPos, double) for
entity spawning. |
double |
getMass()
Represents the mass of each entity spawned.
|
public double getGravityLimit()
GravityField.calculate(BlockPos, double) for
entity spawning. If the cap is exceeded, the entity spawning attempt
will skip.public double getMass()