tcr/java/src/common/biome/BiomeMushroom.java

24 lines
604 B
Java
Raw Normal View History

2025-05-07 18:19:24 +02:00
package common.biome;
2025-03-11 00:23:54 +01:00
2025-05-07 18:19:24 +02:00
import common.entity.animal.EntityMooshroom;
import common.init.Blocks;
import common.rng.WeightedList;
2025-03-11 00:23:54 +01:00
public class BiomeMushroom extends Biome
{
public BiomeMushroom(int id)
{
super(id);
this.treesPerChunk = -100;
this.flowersPerChunk = -100;
this.grassPerChunk = -100;
this.mushroomsPerChunk = 1;
this.bigMushroomsPerChunk = 1;
this.topBlock = Blocks.mycelium.getState();
}
2025-04-14 12:35:45 +02:00
protected void addMobs(WeightedList<RngSpawn> mobs) {
mobs.add(new RngSpawn(EntityMooshroom.class, 8, 4, 8));
2025-03-11 00:23:54 +01:00
}
}