Jump to content

Recommended Posts

Posted

Hey everyone,

I've been working on making a fluid and followed the tutorial here: http://www.minecraftforge.net/wiki/Create_a_Fluid

The problem is that when I try and run the game I get this error:

 

  Reveal hidden contents

 

I know it has something to do with loading the fluid block.

Here are the links to the files:

 

ModBlocks:

https://github.com/Cyb3rWarri0r8/CommuMod/blob/release/V.-1.4.0/src/main/java/io/cyb3rwarri0r8/commumod/blocks/ModBlocks.java

 

PureWaterBlock:

https://github.com/Cyb3rWarri0r8/CommuMod/blob/release/V.-1.4.0/src/main/java/io/cyb3rwarri0r8/commumod/blocks/BlockPureWater.java

 

ModFluids:

https://github.com/Cyb3rWarri0r8/CommuMod/blob/release/V.-1.4.0/src/main/java/io/cyb3rwarri0r8/commumod/fluids/ModFluids.java

 

FluidPureWater:

https://github.com/Cyb3rWarri0r8/CommuMod/blob/release/V.-1.4.0/src/main/java/io/cyb3rwarri0r8/commumod/fluids/FluidPureWater.java

 

Main Class:

https://github.com/Cyb3rWarri0r8/CommuMod/blob/release/V.-1.4.0/src/main/java/io/cyb3rwarri0r8/commumod/main.java

 

ModBucketHandler:

https://github.com/Cyb3rWarri0r8/CommuMod/blob/release/V.-1.4.0/src/main/java/io/cyb3rwarri0r8/commumod/help/ModBucketHandler.java

 

I think those are all the files referenced.

Posted
  On 10/27/2014 at 6:16 PM, Matthbo said:

maybe this will help http://www.minecraftforge.net/wiki/Create_a_Fluid#Create_the_fluid

 

  Quote
Viscosity .setViscosity(viscosity)

How thick the fluid is. Determines how fast it flows. Default: 1000 for water, lava uses 6000

 

this may also adjust the speed it pushes the player

setting the viscosity doesn't change how quickly it pushes the player... it makes it spread across blocks faster

Guest
This topic is now closed to further replies.

Announcements



×
×
  • Create New...

Important Information

By using this site, you agree to our Terms of Use.