Jump to content
View in the app

A better way to browse. Learn more.

Forge Forums

A full-screen app on your home screen with push notifications, badges and more.

To install this app on iOS and iPadOS
  1. Tap the Share icon in Safari
  2. Scroll the menu and tap Add to Home Screen.
  3. Tap Add in the top-right corner.
To install this app on Android
  1. Tap the 3-dot menu (⋮) in the top-right corner of the browser.
  2. Tap Add to Home screen or Install app.
  3. Confirm by tapping Install.

Featured Replies

Posted

Ok, so I have one problem left with my mod after updating it from 1.6.4, and that is biomes. I have been pushing it back for a while since I have researched for a while and I couldn't find anything. So anyways in my declaration section all I have is

 

    public static BiomeGenBase NioBiome;

 

and in the load section I have

 

    NioBiome = new NioBiome(100);

    BiomeManager.desertBiomes.add(new BiomeEntry(NioBiome, 100));

 

 

and in my class file I have

 

 

package mymod.biome;

 

import net.minecraft.block.Block;

import net.minecraft.entity.monster.EntityCreeper;

import net.minecraft.entity.monster.EntityEnderman;

import net.minecraft.entity.monster.EntityGiantZombie;

import net.minecraft.init.Blocks;

import net.minecraft.world.biome.BiomeGenBase;

 

public class NioBiome extends BiomeGenBase

{

    public NioBiome(int par1)

    {

        super(par1);

       

        this.setBiomeName("The Nio");

       

        this.topBlock = (Block)Blocks.redstone_block;

        this.fillerBlock = (Block)mymod.main.Main.MyBlock_2;

       

        this.theBiomeDecorator.treesPerChunk = 8;

        this.theBiomeDecorator.bigMushroomsPerChunk = 15;

        this.theBiomeDecorator.generateLakes = true;

 

        this.spawnableCreatureList.add(new SpawnListEntry(EntityCreeper.class, 20, 5, 15));

        this.spawnableCreatureList.add(new SpawnListEntry(EntityEnderman.class,15, 8, 12));

                this.spawnableCreatureList.add(new SpawnListEntry(EntityGiantZombie.class,20, 1, 5));

 

       

        this.setMinMaxHeight(0.9F, 1.3F);

        this.setTemperatureRainfall(0.5F, 1.0F);

 

    }

 

private void setMinMaxHeight(float f, float g) {

// TODO Auto-generated method stub

 

}

 

}

 

If there is a way to add biomes without having to create a new world type please let me know!

 

Thanks in advance!

 

 

  • Author

Try with it not being a desert biome.

Ok I finally found my biome, but the filler block is not there and it is not the height I would like it to be

  • Author

Try with it not being a desert biome.

Ok I finally found my biome, but the filler block is not there and it is not the height I would like it to be

Ok fixed everything, just used already set heights and I wasn't loading the biomes in pre init

 

Join the conversation

You can post now and register later. If you have an account, sign in now to post with your account.
Note: Your post will require moderator approval before it will be visible.

Guest
Unfortunately, your content contains terms that we do not allow. Please edit your content to remove the highlighted words below.
Reply to this topic...

Important Information

By using this site, you agree to our Terms of Use.

Configure browser push notifications

Chrome (Android)
  1. Tap the lock icon next to the address bar.
  2. Tap Permissions → Notifications.
  3. Adjust your preference.
Chrome (Desktop)
  1. Click the padlock icon in the address bar.
  2. Select Site settings.
  3. Find Notifications and adjust your preference.