Posted July 5, 201312 yr I want to check what biome the player is in but can not seem to find it. I took at look the the BlockLeaves class because of the way they do textures but I can not seem to find how to check players biome.
July 5, 201312 yr I remember the GUI showing which biome the player is in, so if you would look at how the gui gets it you could just copy that. EDIT: I ofcourse mean the GUI you get when pressing f3. I am the creator of the Soul Forest Mod : http://www.planetminecraft.com/mod/151-soul-forest-10-ores-vines-dimension-mobs-and-more/
July 5, 201312 yr Author Hmmm well the GUI for it will deffinitely not be what I want because that is going to tell me how they draw/make it I do want is how they get the info. Which I am going to try finding.
July 5, 201312 yr BiomeGenBase biomegenbase = par2World.getWorldChunkManager().getBiomeGenAt(x, z); This gives a whole lot of info, what you want is biomegenbase.biomeName
July 5, 201312 yr Author WHen I used what you gave me I actually kept crashing. I made it so it would output the names of the biomes the player was in but it crashed every time its fired.
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.