net.minecraft.block.state

public class StateDefinition

art
net.minecraft.class_2233
net.minecraft.block.state.StateDefinition
net.minecraft.block.state.BlockStateContainer

Field summary

Modifier and TypeField
private static final Pattern
a
field_12899
NAME_PATTERN
NAME_PATTERN
private static final com.google.common.base.Function<Property<?>, String>
b
field_9886
PROPERTY_TO_STRING
GET_NAME_FUNC
private final Block
c
field_9887
block
block
private final com.google.common.collect.ImmutableSortedMap<String, Property<?>>
d
field_12900
properties
properties
private final com.google.common.collect.ImmutableList<BlockState>
e
field_9889
states
validStates

Constructor summary

ModifierConstructor
public (Block block, Property<?>... properties)

Method summary

Modifier and TypeMethod
public static <T extends Comparable<T>> String
a(akf arg0, asi<T> arg1)
method_11740(class_197 arg0, class_2247<T> arg1)
validateProperty(Block block, Property<T> property)
validateProperty(Block block, IProperty<T> property)
public com.google.common.collect.ImmutableList<BlockState>
a()
method_9029()
all()
getValidStates()
private List<Iterable<Comparable<?>>>
e()
method_11743()
collectValues()
getAllowedValues()
public BlockState
b()
method_9030()
any()
getBaseState()
public Block
c()
method_9031()
getBlock()
getBlock()
public Collection<Property<?>>
d()
method_11742()
properties()
getProperties()
public Property<?>
a(String arg0)
method_11741(String arg0)
getProperty(String name)
getProperty(String propertyName)