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) |
protected static <T> T |
cyclePropertyValue(java.util.Collection<T> values,
T currentValue) |
com.google.common.collect.ImmutableTable<IProperty<?>,java.lang.Comparable<?>,IBlockState> |
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, 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
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 com.google.common.collect.ImmutableTable<IProperty<?>,java.lang.Comparable<?>,IBlockState> getPropertyValueTable()