public interface IBlockState extends IBlockBehaviors, IBlockProperties
Modifier and Type | Method and Description |
---|---|
<T extends java.lang.Comparable<T>> |
cycleProperty(IProperty<T> property) |
Block |
getBlock() |
com.google.common.collect.ImmutableMap<IProperty<?>,java.lang.Comparable<?>> |
getProperties() |
java.util.Collection<IProperty<?>> |
getPropertyNames() |
<T extends java.lang.Comparable<T>> |
getValue(IProperty<T> property) |
<T extends java.lang.Comparable<T>,V extends T> |
withProperty(IProperty<T> property,
V value) |
neighborChanged, onBlockEventReceived
addCollisionBoxToList, 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, withRotation
java.util.Collection<IProperty<?>> getPropertyNames()
<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)
com.google.common.collect.ImmutableMap<IProperty<?>,java.lang.Comparable<?>> getProperties()
Block getBlock()