BiomeGenMushroomIsland .java

net.minecraft.world.biome.BiomeGenMushroomIsland (class, 23 lines): extends BiomeGenBase. imports: EntityMooshroom, Blocks.

net.minecraft.world.biomeclass23 linescommonextends BiomeGenBase830 B

API Surface (0)

No public/protected methods detected (fields or constants only).

Code Graph: Dependencies (3)

Edges (calls / imports / inherits / references) resolved by graphify from the AST. Every chip opens the class source.

Full Source

BiomeGenMushroomIsland.java23 lines · MCP 1.8.9 · verbatimOriginal ↗
1
package net.minecraft.world.biome;
2
3
import net.minecraft.entity.passive.EntityMooshroom;
4
import net.minecraft.init.Blocks;
5
6
public class BiomeGenMushroomIsland extends BiomeGenBase
7
{
8
    public BiomeGenMushroomIsland(int id)
9
    {
10
        super(id);
11
        this.theBiomeDecorator.treesPerChunk = -100;
12
        this.theBiomeDecorator.flowersPerChunk = -100;
13
        this.theBiomeDecorator.grassPerChunk = -100;
14
        this.theBiomeDecorator.mushroomsPerChunk = 1;
15
        this.theBiomeDecorator.bigMushroomsPerChunk = 1;
16
        this.topBlock = Blocks.mycelium.getDefaultState();
17
        this.spawnableMonsterList.clear();
18
        this.spawnableCreatureList.clear();
19
        this.spawnableWaterCreatureList.clear();
20
        this.spawnableCreatureList.add(new BiomeGenBase.SpawnListEntry(EntityMooshroom.class, 8, 4, 8));
21
    }
22
}
23

Deobfuscated MCP 1.8.9 source of BiomeGenMushroomIsland from Marcelektro/MavenMCP-1.8.9 (net/minecraft/world/biome/BiomeGenMushroomIsland.java), stored verbatim.