TriState
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.api.tool.TriState;
Implements
Undocumented Interfaces
Comparable<Enum>
Enum Constants
TriState is an enum with 3 constants. They are accessible like so:
// TriState.DEFAULT<constant:neoforge:tristate:default>// TriState.FALSE<constant:neoforge:tristate:false>// TriState.TRUE<constant:neoforge:tristate:true>
Members
Getter
// TriState.isDefault as bool<constant:neoforge:tristate:default>.isDefault
Return Type:
bool
Getter
// TriState.isFalse as bool<constant:neoforge:tristate:default>.isFalse
Return Type:
bool
Getter
// TriState.isTrue as bool<constant:neoforge:tristate:default>.isTrue
Return Type:
bool