Home Getting Started With Scripts Commands Examples

Lubricant Registration

register

TypeData Type
Type
Input
Data Type
Fluidstack

Preface

The amount of fluid given is used every 4 Ticks.

Code Example:

script.zs
mods.immersivepetroleum.Lubricant.register(IFluidStack lubricantEntry);
mods.immersivepetroleum.Lubricant.register(<fluid:lava> * 500);

removeAll

Code Example:

script.zs
mods.immersivepetroleum.Lubricant.removeAll();