putFluids

void putFluids(RenderLayer renderLayer, Array<Fluid> fluids)

Map (or re-map) multiple fluid states with a render layer. Re-mapping is not recommended but if done, last one in wins.Must be called from client thread prior to world load/rendering. Best practice will be to call from mod's client initializer.

Parameters

renderLayer

Render layer. Should be one of the layers used for terrain rendering.

fluids

Identifies fluids to be mapped.

Sources

jvm source
Link copied to clipboard