Class SimpleBlockStateProvider
- java.lang.Object
-
- net.minecraft.world.gen.blockstateprovider.BlockStateProvider
-
- net.minecraft.world.gen.blockstateprovider.SimpleBlockStateProvider
-
public class SimpleBlockStateProvider extends BlockStateProvider
-
-
Field Summary
Fields Modifier and Type Field Description static com.mojang.serialization.Codec<SimpleBlockStateProvider>
CODEC
private BlockState
state
-
Constructor Summary
Constructors Constructor Description SimpleBlockStateProvider(BlockState p_i225860_1_)
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description BlockState
getState(java.util.Random p_225574_1_, BlockPos p_225574_2_)
protected BlockStateProviderType<?>
type()
-
-
-
Field Detail
-
CODEC
public static final com.mojang.serialization.Codec<SimpleBlockStateProvider> CODEC
-
state
private final BlockState state
-
-
Constructor Detail
-
SimpleBlockStateProvider
public SimpleBlockStateProvider(BlockState p_i225860_1_)
-
-
Method Detail
-
type
protected BlockStateProviderType<?> type()
- Specified by:
type
in classBlockStateProvider
-
getState
public BlockState getState(java.util.Random p_225574_1_, BlockPos p_225574_2_)
- Specified by:
getState
in classBlockStateProvider
-
-