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, 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, withRotationjava.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()