protected static class ExtendedBlockState.ExtendedStateImplementation extends BlockStateContainer.StateImplementation implements IExtendedBlockState
propertyValueTable| Modifier | Constructor and Description |
|---|---|
protected |
ExtendedStateImplementation(Block block,
com.google.common.collect.ImmutableMap<IProperty<?>,java.lang.Comparable<?>> 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<java.util.Map<IProperty<?>,java.lang.Comparable<?>>,BlockStateContainer.StateImplementation> map) |
IBlockState |
getClean() |
java.util.Collection<IUnlistedProperty<?>> |
getUnlistedNames() |
com.google.common.collect.ImmutableMap<IUnlistedProperty<?>,com.google.common.base.Optional<?>> |
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) |
addCollisionBoxToList, canProvidePower, collisionRayTrace, doesSideBlockRendering, equals, getActualState, getAmbientOcclusionLightValue, getBlock, getBlockHardness, getBoundingBox, getCollisionBoundingBox, getComparatorInputOverride, getLightOpacity, getLightOpacity, getLightValue, getLightValue, getMapColor, getMaterial, getMobilityFlag, getPackedLightmapCoords, getPlayerRelativeBlockHardness, getProperties, getPropertyNames, getPropertyValueTable, getRenderType, getSelectedBoundingBox, getStrongPower, getValue, getWeakPower, hasComparatorInputOverride, hashCode, isBlockNormalCube, isFullBlock, isFullCube, isFullyOpaque, isNormalCube, isOpaqueCube, isSideSolid, isTranslucent, neighborChanged, onBlockEventReceived, shouldSideBeRendered, useNeighborBrightness, withMirror, withRotationcycleProperty, cyclePropertyValue, toStringclone, finalize, getClass, notify, notifyAll, wait, wait, waitcycleProperty, getBlock, getProperties, getPropertyNames, getValueneighborChanged, onBlockEventReceivedaddCollisionBoxToList, canProvidePower, collisionRayTrace, doesSideBlockRendering, getActualState, getAmbientOcclusionLightValue, getBlockHardness, getBoundingBox, getCollisionBoundingBox, getComparatorInputOverride, getLightOpacity, getLightOpacity, getLightValue, getLightValue, getMapColor, getMaterial, getMobilityFlag, getPackedLightmapCoords, getPlayerRelativeBlockHardness, getRenderType, getSelectedBoundingBox, getStrongPower, getWeakPower, hasComparatorInputOverride, isBlockNormalCube, isFullBlock, isFullCube, isFullyOpaque, isNormalCube, isOpaqueCube, isSideSolid, isTranslucent, shouldSideBeRendered, useNeighborBrightness, withMirror, withRotationprotected ExtendedStateImplementation(Block block, com.google.common.collect.ImmutableMap<IProperty<?>,java.lang.Comparable<?>> 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 <T extends java.lang.Comparable<T>,V extends T> IBlockState withProperty(IProperty<T> property, V value)
withProperty in interface IBlockStatewithProperty in class BlockStateContainer.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<java.util.Map<IProperty<?>,java.lang.Comparable<?>>,BlockStateContainer.StateImplementation> map)
buildPropertyValueTable in class BlockStateContainer.StateImplementationpublic IBlockState getClean()
getClean in interface IExtendedBlockState