protected static class ExtendedBlockState.ExtendedStateImplementation extends BlockState.StateImplementation implements IExtendedBlockState
propertyValueTable| Modifier | Constructor and Description |
|---|---|
protected |
ExtendedBlockState.ExtendedStateImplementation(Block block,
com.google.common.collect.ImmutableMap properties,
com.google.common.collect.ImmutableMap<IUnlistedProperty<?>,com.google.common.base.Optional<?>> unlistedProperties,
com.google.common.collect.ImmutableTable<IProperty,java.lang.Comparable,IBlockState> table) |
| Modifier and Type | Method and Description |
|---|---|
void |
buildPropertyValueTable(java.util.Map map) |
java.util.Collection<IUnlistedProperty<?>> |
getUnlistedNames() |
com.google.common.collect.ImmutableMap<IUnlistedProperty<?>,com.google.common.base.Optional<?>> |
getUnlistedProperties() |
<V> V |
getValue(IUnlistedProperty<V> property) |
IBlockState |
withProperty(IProperty property,
java.lang.Comparable value) |
<V> IExtendedBlockState |
withProperty(IUnlistedProperty<V> property,
V value) |
equals, getBlock, getProperties, getPropertyNames, getPropertyValueTable, getValue, hashCodecycleProperty, cyclePropertyValue, toStringclone, finalize, getClass, notify, notifyAll, wait, wait, waitcycleProperty, getBlock, getProperties, getPropertyNames, getValueprotected ExtendedBlockState.ExtendedStateImplementation(Block block, com.google.common.collect.ImmutableMap properties, com.google.common.collect.ImmutableMap<IUnlistedProperty<?>,com.google.common.base.Optional<?>> unlistedProperties, com.google.common.collect.ImmutableTable<IProperty,java.lang.Comparable,IBlockState> table)
public IBlockState withProperty(IProperty property, java.lang.Comparable value)
withProperty in interface IBlockStatewithProperty in class BlockState.StateImplementationpublic <V> IExtendedBlockState withProperty(IUnlistedProperty<V> property, V value)
withProperty in interface IExtendedBlockStatepublic java.util.Collection<IUnlistedProperty<?>> getUnlistedNames()
getUnlistedNames in interface IExtendedBlockStatepublic <V> V getValue(IUnlistedProperty<V> property)
getValue in interface IExtendedBlockStatepublic com.google.common.collect.ImmutableMap<IUnlistedProperty<?>,com.google.common.base.Optional<?>> getUnlistedProperties()
getUnlistedProperties in interface IExtendedBlockStatepublic void buildPropertyValueTable(java.util.Map map)
buildPropertyValueTable in class BlockState.StateImplementation