Represents a value that can assume three values, instead of a simple boolean that can only assume two values.

Importare la Classe

Link to importare-la-classe

It might be required for you to import the package if you encounter any issues (like casting an Array), so better be safe than sorry and add the import at the very top of the file.

ZenScript
Copy
import crafttweaker.api.predicate.TriState;

Extending Enum<TriState>

Link to extending-enumtristate

TriState extends Enum<TriState>. That means all methods available in Enum<TriState> are also available in TriState

Static Properties

Link to static-properties

NomeTipoHa GetterHa SetterDescrizione
Nome
FALSE
Tipo
TriState
Ha Getter
Ha Setter
no
Descrizione
The false value of the TriState. <br /> <br /> It can be considered the same as a boolean's 'false' value.
Nome
TRUE
Tipo
TriState
Ha Getter
Ha Setter
no
Descrizione
The true value of the TriState. <br /> <br /> It can be considered the same as a boolean's 'true' value.
Nome
UNSET
Tipo
TriState
Ha Getter
Ha Setter
no
Descrizione
The unset value of the TriState. <br /> <br /> It represents the lack of a state or a decision that hasn't been made yet.