LogicalSide

Importing the class

If you need to reference this type directly, like when casting an Array, or as a parameter, you will need to import it. Simply add the import at the top of the file.

script.zs
import crafttweaker.neoforge.game.LogicalSide;

Implements

Undocumented Interfaces

Comparable<Enum>

Enum Constants

LogicalSide is an enum with 2 constants. They are accessible like so:

script.zs
// LogicalSide.CLIENT
<constant:neoforge:game/logical_side:client>
// LogicalSide.SERVER
<constant:neoforge:game/logical_side:server>

Members

Getter
script.zs
// LogicalSide.isClient as bool
<constant:neoforge:game/logical_side:client>.isClient

Return Type: bool

Getter
script.zs
// LogicalSide.isServer as bool
<constant:neoforge:game/logical_side:client>.isServer

Return Type: bool