Home Getting Started With Scripts Using this wiki Commands CTGUI Global functions Bracket Handlers
Modtweaker

Buoyancy

Buoyancy effects the ability for an Item to float on water when HCBuoy is enabled in BWM.

Value can be a decimal between -1 and 1 where -1 sinks directly to the bottom, 0 reaches equilibrium, 1 floats on top.

script.zs
mods.betterwithmods.Buoyancy.set(IItemStack stack, float value);