Jump to content

Recommended Posts

Posted

Hey guys,

i am actually working on a Minecraft Mod and i want to generate my own custom biome with custom trees, but unfortunately i dont know how to create a biome or how to create a tree.

Does anyone know how to do this cause i didnt find anything

P.S. It has to be for Minecraft 1.7.x

Posted

Hey guys,

i am actually working on a Minecraft Mod and i want to generate my own custom biome with custom trees, but unfortunately i dont know how to create a biome or how to create a tree.

Does anyone know how to do this cause i didnt find anything

P.S. It has to be for Minecraft 1.7.x

 

Custom biomes in 1.7? that could be a little bit tricky. I managed to get 1 working in my custom dimension(will add more once i finished my gui), but as far as i know addBiome (was used to add biomes to the overworld) doesn't exist anymore.

I think that you would have to create a new world type(has all biomes of vanilla + your biomes) that is used instead of the standart world type.

 

And, as far as i know, trees are somewhere in the wold decorator. Maybe you can find it somewhere in net.minecraft.world.gen.feature.

Here could be your advertisement!

Posted

Most of the 1.6 tutorials work to an extent. You can follow them for making the BiomeGen class for your biome, but the way you register it is different. Some threads on here have covered 1.7 biome registration, so look them up.

Posted

Maybe this can help you:

Way I got mine working (this is all in my @Mod file):

public static final BiomeGenBase example = new BiomeGenExample().setBiomeName("Example Biome");

@EventHandler
public void preInit(FMLPreInitializationEvent event)
{
     BiomeDictionary.registerBiomeType(example, Type.FOREST);
     BiomeManager.addSpawnBiome(example);
}

My ID is coded into the super call in the BiomeGenExample file.

 

EDIT: oh, thats from you Parker8283...

Here could be your advertisement!

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...

×   Pasted as rich text.   Restore formatting

  Only 75 emoji are allowed.

×   Your link has been automatically embedded.   Display as a link instead

×   Your previous content has been restored.   Clear editor

×   You cannot paste images directly. Upload or insert images from URL.

Announcements



×
×
  • Create New...

Important Information

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