public interface IBlockState extends IBlockBehaviors, IBlockProperties
Modifier and Type | Method and Description |
---|---|
<T extends java.lang.Comparable<T>> |
cycleProperty(IProperty<T> property)
Create a version of this BlockState with the given property cycled to the next value in order.
|
Block |
getBlock() |
<any> |
getProperties() |
java.util.Collection<IProperty<?>> |
getPropertyKeys() |
<T extends java.lang.Comparable<T>> |
getValue(IProperty<T> property)
Get the value of the given Property for this BlockState
|
<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
|
neighborChanged, onBlockEventReceived
addCollisionBoxToList, canEntitySpawn, canProvidePower, causesSuffocation, collisionRayTrace, doesSideBlockRendering, getActualState, getAmbientOcclusionLightValue, getBlockHardness, getBoundingBox, getCollisionBoundingBox, getComparatorInputOverride, getLightOpacity, getLightOpacity, getLightValue, getLightValue, getMapColor, getMaterial, getMobilityFlag, getOffset, getPackedLightmapCoords, getPlayerRelativeBlockHardness, getRenderType, getSelectedBoundingBox, getStrongPower, getWeakPower, hasComparatorInputOverride, hasCustomBreakingProgress, isBlockNormalCube, isFullBlock, isFullCube, isFullyOpaque, isNormalCube, isOpaqueCube, isSideSolid, isTranslucent, shouldSideBeRendered, useNeighborBrightness, withMirror, withRotation
java.util.Collection<IProperty<?>> getPropertyKeys()
<T extends java.lang.Comparable<T>> T getValue(IProperty<T> property)
<T extends java.lang.Comparable<T>,V extends T> IBlockState withProperty(IProperty<T> property, V value)
<T extends java.lang.Comparable<T>> IBlockState cycleProperty(IProperty<T> property)
<any> getProperties()
Block getBlock()