Jump to content

Biomes O Plenty biome integration?


MrFancypants

Recommended Posts

I'm using BOP for Minecraft 1.7.2

 

How do I "link" to the BOP API so that I can do client-side stuff based on what biome you're in?  I know the correct file path for BOP, but whenever i try to compile Eclipse, the build fails, so it must need the package?  The import that is has to make is

import biomesoplenty.api.content.BOPCBiomes;

.

 

The issue, obviously, is that if I actually load that package into my mod, it attempts to use my version, instead, which would be incorrect.  What is the correct way to go about this?

 

My code, which doesn't seem to work on BOP stuff:

this.biomeEnter = mc.getMinecraft().theWorld.getBiomeGenForCoords((int)this.mc.getMinecraft().thePlayer.posX, (int)this.mc.getMinecraft().thePlayer.posZ);

BOPCBiomes.java

package biomesoplenty.api.content;

import net.minecraft.world.biome.BiomeGenBase;

public class BOPCBiomes 
{
//Overworld Biomes
public static BiomeGenBase alps;
public static BiomeGenBase arctic;
public static BiomeGenBase bambooForest;
public static BiomeGenBase bayou;
public static BiomeGenBase bog;
public static BiomeGenBase borealForest;
public static BiomeGenBase brushland;
public static BiomeGenBase canyon;
public static BiomeGenBase chaparral;
public static BiomeGenBase cherryBlossomGrove;
public static BiomeGenBase coniferousForest;
public static BiomeGenBase snowyConiferousForest;
public static BiomeGenBase crag;
public static BiomeGenBase deadForest;
public static BiomeGenBase deadSwamp;
public static BiomeGenBase deciduousForest;
public static BiomeGenBase fen;
public static BiomeGenBase flowerField;
public static BiomeGenBase frostForest;
public static BiomeGenBase fungiForest;
public static BiomeGenBase garden;
public static BiomeGenBase grassland;
public static BiomeGenBase grove;
public static BiomeGenBase heathland;
public static BiomeGenBase highland;
public static BiomeGenBase jadeCliffs;
public static BiomeGenBase lavenderFields;
public static BiomeGenBase lushDesert;
public static BiomeGenBase lushSwamp;
public static BiomeGenBase mapleWoods;
public static BiomeGenBase marsh;
public static BiomeGenBase meadow;
public static BiomeGenBase moor;
public static BiomeGenBase mountain;
public static BiomeGenBase mysticGrove;
public static BiomeGenBase ominousWoods;
public static BiomeGenBase originValley;
public static BiomeGenBase outback;
public static BiomeGenBase prairie;
public static BiomeGenBase rainforest;
public static BiomeGenBase redwoodForest;
public static BiomeGenBase sacredSprings;
public static BiomeGenBase seasonalForest;
public static BiomeGenBase shield;
public static BiomeGenBase shrubland;
public static BiomeGenBase sludgepit;
public static BiomeGenBase steppe;
public static BiomeGenBase temperateRainforest;
public static BiomeGenBase thicket;
public static BiomeGenBase tropicalRainforest;
public static BiomeGenBase tundra;
public static BiomeGenBase wasteland;
public static BiomeGenBase wetland;
public static BiomeGenBase woodland;

//Sub Biomes
public static BiomeGenBase alpsForest;
public static BiomeGenBase canyonRavine;
public static BiomeGenBase glacier;
public static BiomeGenBase mangrove;
public static BiomeGenBase meadowForest;
public static BiomeGenBase oasis;
public static BiomeGenBase orchard;
public static BiomeGenBase quagmire;
public static BiomeGenBase scrubland;
public static BiomeGenBase silkglades;
public static BiomeGenBase spruceWoods;
public static BiomeGenBase tropics;
public static BiomeGenBase volcano;

//Ocean Biomes
public static BiomeGenBase coralReef;
public static BiomeGenBase kelpForest;

//Nether Biomes
public static BiomeGenBase corruptedSands;
public static BiomeGenBase undergarden;
public static BiomeGenBase phantasmagoricInferno;
public static BiomeGenBase boneyard;
public static BiomeGenBase visceralHeap;

//River Biomes
public static BiomeGenBase lushRiver;
public static BiomeGenBase dryRiver;

}

 

 

Link to comment
Share on other sites

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.