public class BlockStateContainer
extends java.lang.Object
Modifier and Type | Class and Description |
---|---|
static class |
BlockStateContainer.Builder
Forge added class to make building things easier.
|
static class |
BlockStateContainer.StateImplementation |
Modifier | Constructor and Description |
---|---|
|
BlockStateContainer(Block blockIn,
IProperty<?>... properties) |
protected |
BlockStateContainer(Block blockIn,
IProperty<?>[] properties,
<any> unlistedProperties) |
Modifier and Type | Method and Description |
---|---|
protected BlockStateContainer.StateImplementation |
createState(Block block,
<any> properties,
<any> unlistedProperties) |
IBlockState |
getBaseState() |
Block |
getBlock() |
java.util.Collection<IProperty<?>> |
getProperties() |
IProperty<?> |
getProperty(java.lang.String propertyName) |
<any> |
getValidStates() |
java.lang.String |
toString() |
static <T extends java.lang.Comparable<T>> |
validateProperty(Block block,
IProperty<T> property) |
protected BlockStateContainer.StateImplementation createState(Block block, <any> properties, <any> unlistedProperties)
public static <T extends java.lang.Comparable<T>> java.lang.String validateProperty(Block block, IProperty<T> property)
public <any> getValidStates()
public IBlockState getBaseState()
public Block getBlock()
public java.util.Collection<IProperty<?>> getProperties()
public java.lang.String toString()
toString
in class java.lang.Object
public IProperty<?> getProperty(java.lang.String propertyName)