Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- package com.wither.withermod.worldgen.biome;
- import com.wither.withermod.blocks.BlockRegistry;
- import com.wither.withermod.worldgen.biome.ModBiome.EnumBiomeDecorator;
- import net.minecraft.init.Blocks;
- import net.minecraft.world.biome.BiomeGenBase;
- import net.minecraftforge.common.BiomeManager;
- import net.minecraftforge.common.BiomeManager.BiomeEntry;
- import net.minecraftforge.common.BiomeManager.BiomeType;
- public class ModBiomeRegistry {
- public static BiomeGenBase witherBiome;
- public static void registerBiome(){
- witherBiome = new ModBiome(48).setTopFillerBlock(BlockRegistry.witheredGrass.getDefaultState(), BlockRegistry.witheredDirt.getDefaultState()).setMinMaxHeight(0.3f, 1.0f).setBiomeName("Withered Plains").setTemperatureRainfall(0.7f, 0.1f);
- BiomeManager.addBiome(BiomeType.DESERT, new BiomeEntry(witherBiome, 10));
- }
- }
Advertisement
Add Comment
Please, Sign In to add comment