protected static class ExtendedBlockState.ExtendedStateImplementation extends BlockStateContainer.StateImplementation implements IExtendedBlockState
| Modifier and Type | Field and Description |
|---|---|
private IBlockState |
cleanState |
private com.google.common.collect.ImmutableMap<IUnlistedProperty<?>,java.util.Optional<?>> |
unlistedProperties |
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<?>,java.util.Optional<?>> unlistedProperties,
com.google.common.collect.ImmutableTable<IProperty<?>,java.lang.Comparable<?>,IBlockState> table,
IBlockState clean) |
| Modifier and Type | Method and Description |
|---|---|
IBlockState |
getClean() |
java.util.Collection<IUnlistedProperty<?>> |
getUnlistedNames() |
com.google.common.collect.ImmutableMap<IUnlistedProperty<?>,java.util.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, buildPropertyValueTable, canEntitySpawn, canProvidePower, causesSuffocation, collisionRayTrace, doesSideBlockChestOpening, doesSideBlockRendering, equals, getActualState, getAmbientOcclusionLightValue, getBlock, getBlockFaceShape, getBlockHardness, getBoundingBox, getCollisionBoundingBox, getComparatorInputOverride, getLightOpacity, getLightOpacity, getLightValue, getLightValue, getMapColor, getMaterial, getMobilityFlag, getOffset, getPackedLightmapCoords, getPlayerRelativeBlockHardness, getProperties, getPropertyKeys, getPropertyValueTable, getRenderType, getSelectedBoundingBox, getStrongPower, getValue, getWeakPower, hasComparatorInputOverride, hasCustomBreakingProgress, hashCode, isBlockNormalCube, isFullBlock, isFullCube, isNormalCube, isOpaqueCube, isSideSolid, isTopSolid, isTranslucent, neighborChanged, onBlockEventReceived, shouldSideBeRendered, useNeighborBrightness, withMirror, withRotationcycleProperty, cyclePropertyValue, toStringclone, finalize, getClass, notify, notifyAll, wait, wait, waitcycleProperty, getBlock, getProperties, getPropertyKeys, getValueneighborChanged, onBlockEventReceivedaddCollisionBoxToList, canEntitySpawn, canProvidePower, causesSuffocation, collisionRayTrace, doesSideBlockChestOpening, doesSideBlockRendering, getActualState, getAmbientOcclusionLightValue, getBlockFaceShape, getBlockHardness, getBoundingBox, getCollisionBoundingBox, getComparatorInputOverride, getLightOpacity, getLightOpacity, getLightValue, getLightValue, getMapColor, getMaterial, getMobilityFlag, getOffset, getPackedLightmapCoords, getPlayerRelativeBlockHardness, getRenderType, getSelectedBoundingBox, getStrongPower, getWeakPower, hasComparatorInputOverride, hasCustomBreakingProgress, isBlockNormalCube, isFullBlock, isFullCube, isNormalCube, isOpaqueCube, isSideSolid, isTopSolid, isTranslucent, shouldSideBeRendered, useNeighborBrightness, withMirror, withRotationprivate final com.google.common.collect.ImmutableMap<IUnlistedProperty<?>,java.util.Optional<?>> unlistedProperties
private IBlockState cleanState
protected ExtendedStateImplementation(Block block, com.google.common.collect.ImmutableMap<IProperty<?>,java.lang.Comparable<?>> properties, com.google.common.collect.ImmutableMap<IUnlistedProperty<?>,java.util.Optional<?>> unlistedProperties, @Nullable com.google.common.collect.ImmutableTable<IProperty<?>,java.lang.Comparable<?>,IBlockState> table, IBlockState clean)
@Nonnull public <T extends java.lang.Comparable<T>,V extends T> IBlockState withProperty(@Nonnull IProperty<T> property, @Nonnull V value)
withProperty in interface IBlockStatewithProperty in class BlockStateContainer.StateImplementationpublic <V> IExtendedBlockState withProperty(IUnlistedProperty<V> property, @Nullable V value)
withProperty in interface IExtendedBlockStatepublic java.util.Collection<IUnlistedProperty<?>> getUnlistedNames()
getUnlistedNames in interface IExtendedBlockState@Nullable public <V> V getValue(IUnlistedProperty<V> property)
getValue in interface IExtendedBlockStatepublic com.google.common.collect.ImmutableMap<IUnlistedProperty<?>,java.util.Optional<?>> getUnlistedProperties()
getUnlistedProperties in interface IExtendedBlockStatepublic IBlockState getClean()
getClean in interface IExtendedBlockState