public class ExtendedBlockState extends BlockStateContainer
Modifier and Type | Class and Description |
---|---|
protected static class |
ExtendedBlockState.ExtendedStateImplementation |
BlockStateContainer.Builder, BlockStateContainer.StateImplementation
Constructor and Description |
---|
ExtendedBlockState(Block blockIn,
IProperty<?>[] properties,
IUnlistedProperty<?>[] unlistedProperties) |
Modifier and Type | Method and Description |
---|---|
protected BlockStateContainer.StateImplementation |
createState(Block block,
com.google.common.collect.ImmutableMap<IProperty<?>,java.lang.Comparable<?>> properties,
com.google.common.collect.ImmutableMap<IUnlistedProperty<?>,com.google.common.base.Optional<?>> unlistedProperties) |
java.util.Collection<IUnlistedProperty<?>> |
getUnlistedProperties() |
getBaseState, getBlock, getProperties, getProperty, getValidStates, toString, validateProperty
public ExtendedBlockState(Block blockIn, IProperty<?>[] properties, IUnlistedProperty<?>[] unlistedProperties)
public java.util.Collection<IUnlistedProperty<?>> getUnlistedProperties()
@Nonnull protected BlockStateContainer.StateImplementation createState(@Nonnull Block block, @Nonnull com.google.common.collect.ImmutableMap<IProperty<?>,java.lang.Comparable<?>> properties, @Nullable com.google.common.collect.ImmutableMap<IUnlistedProperty<?>,com.google.common.base.Optional<?>> unlistedProperties)
createState
in class BlockStateContainer