protected static class ExtendedBlockState.ExtendedStateImplementation extends BlockStateContainer.StateImplementation implements IExtendedBlockState
propertyValueTable
Modifier | Constructor and Description |
---|---|
protected |
ExtendedStateImplementation(Block block,
<any> properties,
<any> unlistedProperties,
<any> table,
IBlockState clean) |
Modifier and Type | Method and Description |
---|---|
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)
Get a version of this BlockState with the given Property now set to the given 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, withRotation
cycleProperty, cyclePropertyValue, toString
clone, finalize, getClass, notify, notifyAll, wait, wait, wait
cycleProperty, getBlock, getProperties, getPropertyKeys, getValue
neighborChanged, onBlockEventReceived
addCollisionBoxToList, 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, withRotation
protected ExtendedStateImplementation(Block block, <any> properties, <any> unlistedProperties, <any> table, IBlockState clean)
public <T extends java.lang.Comparable<T>,V extends T> IBlockState withProperty(IProperty<T> property, V value)
withProperty
in interface IBlockState
withProperty
in class BlockStateContainer.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 IBlockState getClean()
getClean
in interface IExtendedBlockState