net.minecraft.state.property

public final class BooleanProperty

extends Property<Boolean>

net.minecraft.world.level.block.state.properties.BooleanProperty
net.minecraft.class_2746
net.minecraft.state.property.BooleanProperty

Field summary

Modifier and TypeField
private static final List<Boolean>
VALUES
field_12575
VALUES
private static final int
TRUE_INDEX
field_54327
TRUE_ORDINAL
private static final int
FALSE_INDEX
field_54328
FALSE_ORDINAL

Constructor summary

ModifierConstructor
private (String name)

Method summary

Modifier and TypeMethod
public List<Boolean>
getPossibleValues()
method_11898()
getValues()
public static BooleanProperty
create(String name)
method_11825(String arg0)
of(String name)
public Optional<Boolean>
getValue(String name)
method_11900(String arg0)
parse(String arg0)
public String
getName(Boolean value)
method_11826(Boolean arg0)
name(Boolean arg0)
public int
getInternalIndex(Boolean value)
method_64219(Boolean arg0)
ordinal(Boolean arg0)
public int
getInternalIndex(Comparable value)
method_64218(Comparable arg0)
ordinal(Comparable arg0)
public String
getName(Comparable value)
method_11901(Comparable arg0)
name(Comparable arg0)