Posted July 4, 201411 yr How would i go about make a world gen file for liquids that only generates the liquid 1-2 levels deep at the surface (similar to lava in vanilla or oil in certain mods)? I can't seem to find a relevant topic on this so any help is appreciated! http://i.imgur.com/bkongSe.png[/img]
July 4, 201411 yr Inherit from WorldGenLiquids, Override generate , set the blocks you need in there. Give it a go, show us what you come up with and any issues that arise. Become inspired by vanilla worldgen classes
July 5, 201411 yr Author Inherit from WorldGenLiquids, Override generate , set the blocks you need in there. Give it a go, show us what you come up with and any issues that arise. Become inspired by vanilla worldgen classes I should really look at vanilla classes more often before bothering you helpful people Thanks for the tip! http://i.imgur.com/bkongSe.png[/img]
July 7, 201411 yr Author Can you please post your code here? I actually haven't got it working. I've extended the correct class and overloaded generate, however I'm not sure how to register a fluidworldgen as registering it as a normal world gen throws errors. http://i.imgur.com/bkongSe.png[/img]
July 7, 201411 yr I made this too. But it doesn't work. That's why I wanted to see your code. Please send it to me if you got it.
July 7, 201411 yr FluidRegistry.registerFluid(yourFluid); Source: http://www.minecraftforge.net/wiki/Create_a_Fluid
July 8, 201411 yr The problem is not that we don't have our fluid! The fluid already exists, but it doesn't get generatet inside the world.
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.