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<?>> |
getPropertyKeys() |
<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, 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
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)
com.google.common.collect.ImmutableMap<IProperty<?>,java.lang.Comparable<?>> getProperties()
Block getBlock()