public class SimpleBlockStateProvider extends BlockStateProvider
Modifier and Type | Field and Description |
---|---|
private BlockState |
state |
blockStateProvider
Constructor and Description |
---|
SimpleBlockStateProvider(BlockState p_i225860_1_) |
SimpleBlockStateProvider(com.mojang.datafixers.Dynamic<T> p_i225861_1_) |
Modifier and Type | Method and Description |
---|---|
BlockState |
getBlockState(java.util.Random randomIn,
BlockPos blockPosIn) |
<T> T |
serialize(com.mojang.datafixers.types.DynamicOps<T> p_218175_1_) |
private final BlockState state
public SimpleBlockStateProvider(BlockState p_i225860_1_)
public SimpleBlockStateProvider(com.mojang.datafixers.Dynamic<T> p_i225861_1_)
public BlockState getBlockState(java.util.Random randomIn, BlockPos blockPosIn)
getBlockState
in class BlockStateProvider
public <T> T serialize(com.mojang.datafixers.types.DynamicOps<T> p_218175_1_)