18 lines
386 B
Java
18 lines
386 B
Java
![]() |
package game.biome;
|
||
|
|
||
|
import game.entity.types.EntityLiving;
|
||
|
import game.rng.RngItem;
|
||
|
|
||
|
public class RngSpawn extends RngItem {
|
||
|
public final Class<? extends EntityLiving> type;
|
||
|
public final int min;
|
||
|
public final int max;
|
||
|
|
||
|
public RngSpawn(Class<? extends EntityLiving> type, int weight, int min, int max) {
|
||
|
super(weight);
|
||
|
this.type = type;
|
||
|
this.min = min;
|
||
|
this.max = max;
|
||
|
}
|
||
|
}
|