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