Jump to content
  • Home
  • Files
  • Docs
Topics
  • All Content

  • This Topic
  • This Forum

  • Advanced Search
  • Existing user? Sign In  

    Sign In



    • Not recommended on shared computers


    • Forgot your password?

  • Sign Up
  • All Activity
  • Home
  • Mod Developer Central
  • Modder Support
  • [1.7.2] Biome Not Spawning
Currently Supported: 1.16.X (Latest) and 1.15.X (LTS)
Sign in to follow this  
Followers 1
drok0920

[1.7.2] Biome Not Spawning

By drok0920, July 5, 2014 in Modder Support

  • Reply to this topic
  • Start new topic
  • Prev
  • 1
  • 2
  • Next
  • Page 1 of 2  

Recommended Posts

drok0920    2

drok0920

drok0920    2

  • Diamond Finder
  • drok0920
  • Forge Modder
  • 2
  • 443 posts
Posted July 5, 2014

Hello MCF forums,

I would like to know why my biome wont generate! Here are my classes

 

@mod:

http://pastebin.com/MdemWvmg

 

 

Biome:

http://pastebin.com/sABVs4ak

 

Thank you,

~Drok

  • Quote

Share this post


Link to post
Share on other sites

Alesimula    3

Alesimula

Alesimula    3

  • Creeper Killer
  • Alesimula
  • Members
  • 3
  • 117 posts
Posted July 5, 2014

public static BiomeGenBase CodeBiome = new CodeBiomeGenBase(50);

 

so what? you just did that ^

 

it's like saying:

 

"public int randomInt = 1; why grass block hasn't that id?"

  • Quote

Actually i don't know what to write in this signature soooo.... anyway

Share this post


Link to post
Share on other sites

diesieben07    7583

diesieben07

diesieben07    7583

  • Reality Controller
  • diesieben07
  • Forum Team
  • 7583
  • 54911 posts
Posted July 5, 2014

Look into the BiomeManager class for how to register your Biome.

  • Quote

Share this post


Link to post
Share on other sites

Alesimula    3

Alesimula

Alesimula    3

  • Creeper Killer
  • Alesimula
  • Members
  • 3
  • 117 posts
Posted July 5, 2014

It's actually BiomeManager.addSpawnBiome(CodeBiome)

  • Quote

Actually i don't know what to write in this signature soooo.... anyway

Share this post


Link to post
Share on other sites

diesieben07    7583

diesieben07

diesieben07    7583

  • Reality Controller
  • diesieben07
  • Forum Team
  • 7583
  • 54911 posts
Posted July 5, 2014

It's actually BiomeManager.addSpawnBiome(CodeBiome)

It's actually not. This will not make your Biome spawn.
  • Quote

Share this post


Link to post
Share on other sites

drok0920    2

drok0920

drok0920    2

  • Diamond Finder
  • drok0920
  • Forge Modder
  • 2
  • 443 posts
Posted July 5, 2014

then how would i do it? I have looked into the BiomeManager class and the only thing that would look like t would spawn the biome is Biomemanager.addspawnBiome

  • Quote

Share this post


Link to post
Share on other sites

diesieben07    7583

diesieben07

diesieben07    7583

  • Reality Controller
  • diesieben07
  • Forum Team
  • 7583
  • 54911 posts
Posted July 5, 2014

There are a couple of public List fields in the BiomeManager class. These control which biomes spawn where.

  • Quote

Share this post


Link to post
Share on other sites

drok0920    2

drok0920

drok0920    2

  • Diamond Finder
  • drok0920
  • Forge Modder
  • 2
  • 443 posts
Posted July 5, 2014

Ok i will check again

  • Quote

Share this post


Link to post
Share on other sites

drok0920    2

drok0920

drok0920    2

  • Diamond Finder
  • drok0920
  • Forge Modder
  • 2
  • 443 posts
Posted July 5, 2014

Do you mean these?

 

public static ArrayList<BiomeGenBase> strongHoldBiomes = new ArrayList<BiomeGenBase>();

 

public static ArrayList<BiomeGenBase> strongHoldBiomesBlackList = new ArrayList<BiomeGenBase>();

  • Quote

Share this post


Link to post
Share on other sites

diesieben07    7583

diesieben07

diesieben07    7583

  • Reality Controller
  • diesieben07
  • Forum Team
  • 7583
  • 54911 posts
Posted July 5, 2014

No, those Lists manage where Strongholds can spawn. You want one of

desertBiomes

,

warmBiomes

, etc.

  • Quote

Share this post


Link to post
Share on other sites

drok0920    2

drok0920

drok0920    2

  • Diamond Finder
  • drok0920
  • Forge Modder
  • 2
  • 443 posts
Posted July 5, 2014

its not there ill show you my biomemanager class:

 

http://pastebin.com/5hyTJe33

  • Quote

Share this post


Link to post
Share on other sites

diesieben07    7583

diesieben07

diesieben07    7583

  • Reality Controller
  • diesieben07
  • Forum Team
  • 7583
  • 54911 posts
Posted July 5, 2014

Update Forge.

  • Quote

Share this post


Link to post
Share on other sites

drok0920    2

drok0920

drok0920    2

  • Diamond Finder
  • drok0920
  • Forge Modder
  • 2
  • 443 posts
Posted July 5, 2014

ok i will does that mean i have to re-do all of the code?

  • Quote

Share this post


Link to post
Share on other sites

diesieben07    7583

diesieben07

diesieben07    7583

  • Reality Controller
  • diesieben07
  • Forum Team
  • 7583
  • 54911 posts
Posted July 5, 2014

Of course not.

  • Quote

Share this post


Link to post
Share on other sites

drok0920    2

drok0920

drok0920    2

  • Diamond Finder
  • drok0920
  • Forge Modder
  • 2
  • 443 posts
Posted July 5, 2014

Ok

  • Quote

Share this post


Link to post
Share on other sites

drok0920    2

drok0920

drok0920    2

  • Diamond Finder
  • drok0920
  • Forge Modder
  • 2
  • 443 posts
Posted July 5, 2014

Ok so i put:

 

BiomeManager.coolBiomes.add(CodeBiome);

 

But it gives me an error at .add

  • Quote

Share this post


Link to post
Share on other sites

diesieben07    7583

diesieben07

diesieben07    7583

  • Reality Controller
  • diesieben07
  • Forum Team
  • 7583
  • 54911 posts
Posted July 5, 2014

What error?

  • Quote

Share this post


Link to post
Share on other sites

drok0920    2

drok0920

drok0920    2

  • Diamond Finder
  • drok0920
  • Forge Modder
  • 2
  • 443 posts
Posted July 5, 2014

Never Mind i think i fixed it by changing it to:

 

BiomeManager.coolBiomes.add(new BiomeEntry(BOW.CodeBiome, 10));

  • Quote

Share this post


Link to post
Share on other sites

drok0920    2

drok0920

drok0920    2

  • Diamond Finder
  • drok0920
  • Forge Modder
  • 2
  • 443 posts
Posted July 5, 2014

But i do have one more question related to biomes. How would i make only certain biome generate in my custom dimension? Here is my ChunkProvider for it:

 

http://pastebin.com/QgTwxq4F

  • Quote

Share this post


Link to post
Share on other sites

diesieben07    7583

diesieben07

diesieben07    7583

  • Reality Controller
  • diesieben07
  • Forum Team
  • 7583
  • 54911 posts
Posted July 5, 2014

You need to override getBiomesForGeneration in your WorldChunkManager class.

  • Quote

Share this post


Link to post
Share on other sites

drok0920    2

drok0920

drok0920    2

  • Diamond Finder
  • drok0920
  • Forge Modder
  • 2
  • 443 posts
Posted July 5, 2014

How?

  • Quote

Share this post


Link to post
Share on other sites

diesieben07    7583

diesieben07

diesieben07    7583

  • Reality Controller
  • diesieben07
  • Forum Team
  • 7583
  • 54911 posts
Posted July 5, 2014

Overriding methods is basic java knowledge.

  • Quote

Share this post


Link to post
Share on other sites

drok0920    2

drok0920

drok0920    2

  • Diamond Finder
  • drok0920
  • Forge Modder
  • 2
  • 443 posts
Posted July 5, 2014

I meant is that the literal name of the method i know how to overide a method

  • Quote

Share this post


Link to post
Share on other sites

diesieben07    7583

diesieben07

diesieben07    7583

  • Reality Controller
  • diesieben07
  • Forum Team
  • 7583
  • 54911 posts
Posted July 5, 2014

Yes, that is the literal name of the method.

  • Quote

Share this post


Link to post
Share on other sites

drok0920    2

drok0920

drok0920    2

  • Diamond Finder
  • drok0920
  • Forge Modder
  • 2
  • 443 posts
Posted July 5, 2014

Ok thank you

  • Quote

Share this post


Link to post
Share on other sites
  • Prev
  • 1
  • 2
  • Next
  • Page 1 of 2  

Join the conversation

You can post now and register later. If you have an account, sign in now to post with your account.

Guest
Reply to this topic...

×   Pasted as rich text.   Paste as plain text instead

  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.

    • Insert image from URL
×
  • Desktop
  • Tablet
  • Phone
Sign in to follow this  
Followers 1
Go To Topic Listing



  • Recently Browsing

    No registered users viewing this page.

  • Posts

    • Thorius
      [1.15.2] How Would I make a custom bow?

      By Thorius · Posted 18 minutes ago

      You have to create a new bullet entity class but you can use the snowball as a template. In kinematics there's not much difference between a snowball and a bullet. If it looks and hurts like a bullet then it's a bullet. But you have to register it as a new entity.
    • Ipsissimus418
      [1.16.4] WorldTickEvent Concurrent Access Exception

      By Ipsissimus418 · Posted 36 minutes ago

      That is something I hadn't considered in terms of threads.   I have the WorldTickEvent handler do nothing on the client but run on the server. I may have some paths for the addEntry running on both the client and server. Something I need to look into and check if that is where the conflict is coming from.   Thanks.
    • kiou.23
      [1.16] Custom Sign won't render

      By kiou.23 · Posted 41 minutes ago

      Did the classes, now the edit screen shows up, and if I use a vanilla WoodType for the sign, the texture shows up in the edit screen (not in the actual block tho, it still won't render) the changes are on github. How should I go about rendering the Sign again? I'll need to write my own TileEntityRenderer?
    • PedreHenrry
      my minecraft crashed by "rendering overlay"

      By PedreHenrry · Posted 45 minutes ago

      i fixed it re instaling the forge after delete it  
    • Somonestolemyusername
      [1.15.2] How Would I make a custom bow?

      By Somonestolemyusername · Posted 55 minutes ago

      but if I use the snowball class it will be like im shooting snowballs not bullets. you know mr crayfishes gun mod? i want my gun to be somewhat like that also i figured out how to connect my registered object to the class
  • Topics

    • Somonestolemyusername
      14
      [1.15.2] How Would I make a custom bow?

      By Somonestolemyusername
      Started Tuesday at 09:30 PM

    • Ipsissimus418
      2
      [1.16.4] WorldTickEvent Concurrent Access Exception

      By Ipsissimus418
      Started 2 hours ago

    • kiou.23
      14
      [1.16] Custom Sign won't render

      By kiou.23
      Started 10 hours ago

    • PedreHenrry
      5
      my minecraft crashed by "rendering overlay"

      By PedreHenrry
      Started Yesterday at 01:06 PM

    • e2rifia
      2
      (1.16.2) Making a new capability(2)

      By e2rifia
      Started 1 hour ago

  • Who's Online (See full list)

    • Tehen
    • tf2_mandeokyi
    • RedBobKid
    • MistyMarshes
    • Bailym
    • gamer650xd
    • Lellian
    • Thorius
    • Somonestolemyusername
    • Minnifloyd
    • Funyaah
    • Beethoven92
  • All Activity
  • Home
  • Mod Developer Central
  • Modder Support
  • [1.7.2] Biome Not Spawning
  • Theme

Copyright © 2019 ForgeDevelopment LLC · Ads by Longitude Ads LLC Powered by Invision Community