public static class BlockState.StateImplementation extends BlockStateBase
Modifier and Type | Field and Description |
---|---|
protected <any> |
propertyValueTable |
Modifier | Constructor and Description |
---|---|
protected |
StateImplementation(Block blockIn,
<any> propertiesIn) |
protected |
StateImplementation(Block blockIn,
<any> propertiesIn,
<any> propertyValueTable) |
Modifier and Type | Method and Description |
---|---|
void |
buildPropertyValueTable(java.util.Map<java.util.Map<IProperty,java.lang.Comparable>,BlockState.StateImplementation> map) |
boolean |
equals(java.lang.Object p_equals_1_) |
Block |
getBlock() |
<any> |
getProperties() |
java.util.Collection<IProperty> |
getPropertyNames() |
<any> |
getPropertyValueTable() |
<T extends java.lang.Comparable<T>> |
getValue(IProperty<T> property) |
int |
hashCode() |
<T extends java.lang.Comparable<T>,V extends T> |
withProperty(IProperty<T> property,
V value) |
cycleProperty, cyclePropertyValue, toString
protected StateImplementation(Block blockIn, <any> propertiesIn)
protected StateImplementation(Block blockIn, <any> propertiesIn, <any> propertyValueTable)
public java.util.Collection<IProperty> getPropertyNames()
public <T extends java.lang.Comparable<T>> T getValue(IProperty<T> property)
public <T extends java.lang.Comparable<T>,V extends T> IBlockState withProperty(IProperty<T> property, V value)
public <any> getProperties()
public Block getBlock()
public boolean equals(java.lang.Object p_equals_1_)
equals
in class java.lang.Object
public int hashCode()
hashCode
in class java.lang.Object
public void buildPropertyValueTable(java.util.Map<java.util.Map<IProperty,java.lang.Comparable>,BlockState.StateImplementation> map)
public <any> getPropertyValueTable()
getPropertyValueTable
in class BlockStateBase