Block Attributes

density

This attribute defines the fluid's density. A negative density indicates that the fluid is ligher than air and thus should flow up instead of down (as of forge 804, this doesn't seem to work though). The density has no effect on the behaviour of the fluid itself but it may be used by other mods to distinguish between different fluids.

Examples

// Default value and density of water
density = 1000;

// Density of lava
density = 3000;