Preprocessors - roidrole/Roids-Tweaker GitHub Wiki

Preprocessors

Preprocessors are called at the start of your scripts with #

onside [Side]

There are two accepted Side values : client and server

Will make the code only run on the specified side.

Internally uses FMLCommonHandler.getSide(), equivalent to @SideOnly annotations.

Usage :

  • #onside client
  • #onside server