Distribution
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.
import crafttweaker.neoforge.game.Distribution;
Implements
Undocumented Interfaces
Comparable<Enum>
Enum Constants
Distribution is an enum with 2 constants. They are accessible like so:
// Distribution.CLIENT<constant:neoforge:game/distribution:client>// Distribution.DEDICATED_SERVER<constant:neoforge:game/distribution:dedicated_server>
Members
Getter
// Dist.isClient as bool<constant:neoforge:game/distribution:client>.isClient
Return Type:
bool
Getter
// Dist.isDedicatedServer as bool<constant:neoforge:game/distribution:client>.isDedicatedServer
Return Type:
bool