net.minecraft.world.level.block.state

public class StateDefinition<O, S extends StateHolder<S>>

bvu
net.minecraft.world.level.block.state.StateDefinition
net.minecraft.class_2689
net.minecraft.state.StateManager
net.minecraft.state.StateContainer
net.minecraft.server.v1_14_R1.BlockStateList

Field summary

Modifier and TypeField
private static final Pattern
a
NAME_PATTERN
field_12314
VALID_NAME_PATTERN
field_185921_a
private final O
b
owner
field_12317
owner
field_177627_c
private final com.google.common.collect.ImmutableSortedMap<String, Property<?>>
c
propertiesByName
field_12316
properties
field_177624_d
private final com.google.common.collect.ImmutableList<S>
d
states
field_12315
states
field_177625_e

Constructor summary

ModifierConstructor
protected <A extends AbstractStateHolder<O, S>>(O owner, StateDefinition$Factory<O, S, A> arg1, Map<String, Property<?>> namedProperties)

Method summary

Modifier and TypeMethod
public com.google.common.collect.ImmutableList<S>
a()
getPossibleStates()
method_11662()
getStates()
func_177619_a()
public S
b()
any()
method_11664()
getDefaultState()
func_177621_b()
getBlockData()
public O
c()
getOwner()
method_11660()
getOwner()
func_177622_c()
getBlock()
public Collection<Property<?>>
d()
getProperties()
method_11659()
getProperties()
func_177623_d()
public Property<?>
a(String arg0)
getProperty(String arg0)
method_11663(String arg0)
getProperty(String name)
func_185920_a(String arg0)