public abstract class BlockStateBase extends java.lang.Object implements IBlockState
| Modifier and Type | Field and Description |
|---|---|
private static com.google.common.base.Joiner |
COMMA_JOINER |
private static com.google.common.base.Function<java.util.Map.Entry<IProperty<?>,java.lang.Comparable<?>>,java.lang.String> |
MAP_ENTRY_TO_STRING |
| 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, waitgetBlock, getProperties, getPropertyKeys, getValue, withPropertyneighborChanged, onBlockEventReceivedaddCollisionBoxToList, 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, withRotationprivate static final com.google.common.base.Joiner COMMA_JOINER
private static final com.google.common.base.Function<java.util.Map.Entry<IProperty<?>,java.lang.Comparable<?>>,java.lang.String> MAP_ENTRY_TO_STRING
public <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.Object@Nullable public com.google.common.collect.ImmutableTable<IProperty<?>,java.lang.Comparable<?>,IBlockState> getPropertyValueTable()