net.minecraft.world.level.block.state.properties

public final class BooleanProperty

extends Property<Boolean>

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

Field summary

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

Constructor summary

ModifierConstructor
private (String name)

Method summary

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