2025-05-07 18:19:24 +02:00
|
|
|
package common.biome;
|
2025-04-14 12:35:45 +02:00
|
|
|
|
2025-05-07 18:19:24 +02:00
|
|
|
import common.entity.types.EntityLiving;
|
|
|
|
import common.rng.RngItem;
|
2025-04-14 12:35:45 +02:00
|
|
|
|
|
|
|
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;
|
|
|
|
}
|
|
|
|
}
|