-
Notifications
You must be signed in to change notification settings - Fork 0
Liquid Properties
misterplus edited this page Apr 3, 2020
·
4 revisions
You can call the Liquid package by mods.plustweaks.Liquid.
There is currently only one function for this package:
mods.plustweaks.Liquid.setInfinite(ILiquidStack liquidStack, @Optional boolean finite);
When finite is set to true, this will set the specified liquid finite, just like lava from vanilla minecraft. If finite is omited or set to false, this will set the specified liquid infinite, just like water from vanilla minecraft.
Example:
mods.plustweaks.Liquid.setInfinite(<liquid:water>, true);
This means infinite water is disabled.