Posted February 23, 201411 yr Hi, I have created a fluid with the Forge fluid API and was wondering how to make it gaseous. Does anyone know how to do this? Thanks Check out my mod, Realms of Chaos, here. If I helped you, be sure to press the "Thank You" button!
February 23, 201411 yr In 1.6.2 fluids had a setGaseous(boolean) method. It defaults to false. Try that?
February 23, 201411 yr Author Thanks, but it didn't work. Here is my fluid class: public class DryWaterFluid extends Fluid { public DryWaterFluid() { super("dry_water"); setDensity(-100); setViscosity(1000); setGaseous(true); FluidRegistry.registerFluid(this); } } Check out my mod, Realms of Chaos, here. If I helped you, be sure to press the "Thank You" button!
February 24, 201411 yr Um, Eternaldoom, did you look into the Fluid.class? In there it says that those are just so mods can use those to their advantage. It literally does nothing unless another mod uses it. But feel free to create something that turns those into gases. That would be cool! -Mitchellbrine Minecraft can do ANYTHING, it's coded in Java and you got the full power of Java behind you when you code. So nothing is impossible. It may be freaking fucking hard though, but still possible If you create a topic on Modder Support, live by this motto: I don't want your charity, I want your information
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.