Search in sources :

Example 1 with SpongeMushroomType

use of org.spongepowered.common.world.gen.type.SpongeMushroomType in project SpongeCommon by SpongePowered.

the class MushroomTypeRegistryModule method registerDefaults.

@Override
public void registerDefaults() {
    register(new SpongeMushroomType("minecraft:brown", "brown", (PopulatorObject) new WorldGenBigMushroom(Blocks.BROWN_MUSHROOM_BLOCK)));
    register(new SpongeMushroomType("minecraft:red", "red", (PopulatorObject) new WorldGenBigMushroom(Blocks.RED_MUSHROOM_BLOCK)));
}
Also used : SpongeMushroomType(org.spongepowered.common.world.gen.type.SpongeMushroomType) PopulatorObject(org.spongepowered.api.world.gen.PopulatorObject) WorldGenBigMushroom(net.minecraft.world.gen.feature.WorldGenBigMushroom)

Aggregations

WorldGenBigMushroom (net.minecraft.world.gen.feature.WorldGenBigMushroom)1 PopulatorObject (org.spongepowered.api.world.gen.PopulatorObject)1 SpongeMushroomType (org.spongepowered.common.world.gen.type.SpongeMushroomType)1