public class BlockState
extends java.lang.Object
Modifier and Type | Class and Description |
---|---|
static class |
BlockState.StateImplementation |
Modifier | Constructor and Description |
---|---|
|
BlockState(Block blockIn,
IProperty... properties) |
protected |
BlockState(Block blockIn,
IProperty[] properties,
com.google.common.collect.ImmutableMap unlistedProperties) |
Modifier and Type | Method and Description |
---|---|
protected BlockState.StateImplementation |
createState(Block block,
com.google.common.collect.ImmutableMap properties,
com.google.common.collect.ImmutableMap unlistedProperties) |
IBlockState |
getBaseState() |
Block |
getBlock() |
java.util.Collection |
getProperties() |
com.google.common.collect.ImmutableList |
getValidStates() |
java.lang.String |
toString() |
protected BlockState.StateImplementation createState(Block block, com.google.common.collect.ImmutableMap properties, com.google.common.collect.ImmutableMap unlistedProperties)
public com.google.common.collect.ImmutableList getValidStates()
public IBlockState getBaseState()
public Block getBlock()
public java.util.Collection getProperties()
public java.lang.String toString()
toString
in class java.lang.Object