public class BlockState
extends java.lang.Object
Modifier and Type | Class and Description |
---|---|
(package private) static class |
BlockState.StateImplementation |
Modifier and Type | Field and Description |
---|---|
private Block |
block |
private static com.google.common.base.Joiner |
COMMA_JOINER |
private static com.google.common.base.Function<IProperty,java.lang.String> |
GET_NAME_FUNC |
private com.google.common.collect.ImmutableList<IProperty> |
properties |
private com.google.common.collect.ImmutableList<IBlockState> |
validStates |
Constructor and Description |
---|
BlockState(Block blockIn,
IProperty... properties) |
Modifier and Type | Method and Description |
---|---|
private java.util.List<java.lang.Iterable<java.lang.Comparable>> |
getAllowedValues() |
IBlockState |
getBaseState() |
Block |
getBlock() |
java.util.Collection<IProperty> |
getProperties() |
com.google.common.collect.ImmutableList<IBlockState> |
getValidStates() |
java.lang.String |
toString() |
private static final com.google.common.base.Joiner COMMA_JOINER
private static final com.google.common.base.Function<IProperty,java.lang.String> GET_NAME_FUNC
private final Block block
private final com.google.common.collect.ImmutableList<IProperty> properties
private final com.google.common.collect.ImmutableList<IBlockState> validStates
public com.google.common.collect.ImmutableList<IBlockState> getValidStates()
private java.util.List<java.lang.Iterable<java.lang.Comparable>> getAllowedValues()
public IBlockState getBaseState()
public Block getBlock()
public java.util.Collection<IProperty> getProperties()
public java.lang.String toString()
toString
in class java.lang.Object