public abstract class BlockStateBase extends java.lang.Object implements IBlockState
| Constructor and Description |
|---|
BlockStateBase() |
| 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.
|
protected static <T> T |
cyclePropertyValue(java.util.Collection<T> values,
T currentValue)
Helper method for cycleProperty.
|
<any> |
getPropertyValueTable() |
java.lang.String |
toString() |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, waitgetBlock, getProperties, getPropertyKeys, getValue, withPropertyneighborChanged, onBlockEventReceivedaddCollisionBoxToList, 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, withRotationpublic <T extends java.lang.Comparable<T>> IBlockState cycleProperty(IProperty<T> property)
cycleProperty in interface IBlockStateprotected static <T> T cyclePropertyValue(java.util.Collection<T> values,
T currentValue)
public java.lang.String toString()
toString in class java.lang.Objectpublic <any> getPropertyValueTable()