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) |
java.lang.String |
toString() |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, waitgetBlock, getProperties, getPropertyNames, getValue, withPropertyprivate 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