net.minecraft.util

public enum TriState

implements StringIdentifiable

net.minecraft.util.TriState
net.minecraft.util.TriState
net.minecraft.class_9851
net.minecraft.util.TriState

Enum constant summary

Enum Constant
TRUE
TRUE
field_52394
TRUE
FALSE
FALSE
field_52395
FALSE
DEFAULT
DEFAULT
field_52396
DEFAULT

Field summary

Modifier and TypeField
public static final com.mojang.serialization.Codec<TriState>
CODEC
CODEC
field_64315
CODEC
private final String
name
name
field_64316
name

Constructor summary

ModifierConstructor
private (String $enum$name)

Method summary

Modifier and TypeMethod
public static TriState
from(boolean value)
from(boolean value)
method_76393(boolean arg0)
ofBoolean(boolean value)
public boolean
toBoolean(boolean defaultValue)
toBoolean(boolean defaultValue)
method_61348(boolean arg0)
asBoolean(boolean fallback)
public String
getSerializedName()
getSerializedName()
method_15434()
asString()