public class ForestFlowerBlockStateProvider extends BlockStateProvider
Modifier and Type | Field and Description |
---|---|
private static BlockState[] |
flowers |
stateProvider
Constructor and Description |
---|
ForestFlowerBlockStateProvider() |
ForestFlowerBlockStateProvider(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 static final BlockState[] flowers
public ForestFlowerBlockStateProvider()
public ForestFlowerBlockStateProvider(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)