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