Package net.minecraft.block.state
Class BlockStateBase
- java.lang.Object
-
- net.minecraft.block.state.BlockStateBase
-
- All Implemented Interfaces:
IBlockState
public abstract class BlockStateBase extends java.lang.Object implements IBlockState
-
-
Constructor Summary
Constructors Constructor Description BlockStateBase()
-
Method Summary
All Methods Static Methods Instance Methods Concrete Methods Modifier and Type Method Description <T extends java.lang.Comparable<T>>
IBlockStatecycleProperty(IProperty<T> property)
protected static <T> T
cyclePropertyValue(java.util.Collection<T> values, T currentValue)
java.lang.String
toString()
-
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait
-
Methods inherited from interface net.minecraft.block.state.IBlockState
getBlock, getProperties, getPropertyNames, getValue, withProperty
-
-
-
-
Method Detail
-
cycleProperty
public <T extends java.lang.Comparable<T>> IBlockState cycleProperty(IProperty<T> property)
- Specified by:
cycleProperty
in interfaceIBlockState
-
cyclePropertyValue
protected static <T> T cyclePropertyValue(java.util.Collection<T> values, T currentValue)
-
toString
public java.lang.String toString()
- Overrides:
toString
in classjava.lang.Object
-
-