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, wait
getBlock, getProperties, getPropertyKeys, getValue, withProperty
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
public <T extends java.lang.Comparable<T>> IBlockState cycleProperty(IProperty<T> property)
cycleProperty
in interface IBlockState
protected static <T> T cyclePropertyValue(java.util.Collection<T> values, T currentValue)
public java.lang.String toString()
toString
in class java.lang.Object
public <any> getPropertyValueTable()