protected static class ExtendedBlockState.ExtendedStateImplementation extends BlockState.StateImplementation implements IExtendedBlockState
propertyValueTable
Modifier | Constructor and Description |
---|---|
protected |
ExtendedStateImplementation(Block block,
<any> properties,
<any> unlistedProperties,
<any> table) |
Modifier and Type | Method and Description |
---|---|
void |
buildPropertyValueTable(java.util.Map<java.util.Map<IProperty,java.lang.Comparable>,BlockState.StateImplementation> map) |
IBlockState |
getClean() |
java.util.Collection<IUnlistedProperty<?>> |
getUnlistedNames() |
<any> |
getUnlistedProperties() |
<V> V |
getValue(IUnlistedProperty<V> property) |
<T extends java.lang.Comparable<T>,V extends T> |
withProperty(IProperty<T> property,
V value) |
<V> IExtendedBlockState |
withProperty(IUnlistedProperty<V> property,
V value) |
equals, getBlock, getProperties, getPropertyNames, getPropertyValueTable, getValue, hashCode
cycleProperty, cyclePropertyValue, toString
clone, finalize, getClass, notify, notifyAll, wait, wait, wait
cycleProperty, getBlock, getProperties, getPropertyNames, getValue
protected ExtendedStateImplementation(Block block, <any> properties, <any> unlistedProperties, <any> table)
public <T extends java.lang.Comparable<T>,V extends T> IBlockState withProperty(IProperty<T> property, V value)
withProperty
in interface IBlockState
withProperty
in class BlockState.StateImplementation
public <V> IExtendedBlockState withProperty(IUnlistedProperty<V> property, V value)
withProperty
in interface IExtendedBlockState
public java.util.Collection<IUnlistedProperty<?>> getUnlistedNames()
getUnlistedNames
in interface IExtendedBlockState
public <V> V getValue(IUnlistedProperty<V> property)
getValue
in interface IExtendedBlockState
public <any> getUnlistedProperties()
getUnlistedProperties
in interface IExtendedBlockState
public void buildPropertyValueTable(java.util.Map<java.util.Map<IProperty,java.lang.Comparable>,BlockState.StateImplementation> map)
buildPropertyValueTable
in class BlockState.StateImplementation
public IBlockState getClean()
getClean
in interface IExtendedBlockState