public class SimpleBlockStateProvider extends BlockStateProvider
Modifier and Type | Field and Description |
---|---|
static com.mojang.serialization.Codec<SimpleBlockStateProvider> |
CODEC |
private BlockState |
state |
TYPE_CODEC
Constructor and Description |
---|
SimpleBlockStateProvider(BlockState state) |
Modifier and Type | Method and Description |
---|---|
BlockState |
getBlockState(Random random,
BlockPos pos) |
protected BlockStateProviderType<?> |
getType() |
public static final com.mojang.serialization.Codec<SimpleBlockStateProvider> CODEC
private final BlockState state
public SimpleBlockStateProvider(BlockState state)
protected BlockStateProviderType<?> getType()
getType
in class BlockStateProvider
public BlockState getBlockState(Random random, BlockPos pos)
getBlockState
in class BlockStateProvider