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