public class PillarBlockStateProvider extends BlockStateProvider
Modifier and Type | Field and Description |
---|---|
private Block |
block |
stateProvider
Constructor and Description |
---|
PillarBlockStateProvider(Block block) |
PillarBlockStateProvider(com.mojang.datafixers.Dynamic<T> configDeserializer) |
Modifier and Type | Method and Description |
---|---|
BlockState |
getBlockState(Random random,
BlockPos pos) |
<T> T |
serialize(com.mojang.datafixers.types.DynamicOps<T> ops) |
private final Block block
public PillarBlockStateProvider(Block block)
public PillarBlockStateProvider(com.mojang.datafixers.Dynamic<T> configDeserializer)
public BlockState getBlockState(Random random, BlockPos pos)
getBlockState
in class BlockStateProvider
public <T> T serialize(com.mojang.datafixers.types.DynamicOps<T> ops)