net.minecraft.state

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

bvk
net.minecraft.class_2689
net.minecraft.state.StateDefinition
net.minecraft.state.StateContainer
net.minecraft.state.StateContainer

Field summary

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

Constructor summary

ModifierConstructor
protected <A extends AbstractState<O, S>>(O owner, StateDefinition$StateFactory<O, S, A> factory, Map<String, Property<?>> properties)

Method summary

Modifier and TypeMethod
public com.google.common.collect.ImmutableList<S>
a()
method_11662()
all()
func_177619_a()
getValidStates()
public S
b()
method_11664()
any()
func_177621_b()
getBaseState()
public O
c()
method_11660()
owner()
func_177622_c()
getOwner()
public Collection<Property<?>>
d()
method_11659()
properties()
func_177623_d()
getProperties()
public Property<?>
a(String arg0)
method_11663(String arg0)
getProperty(String name)
func_185920_a(String arg0)
getProperty(String propertyName)