Class BlockStateProvider
- java.lang.Object
-
- net.minecraft.world.gen.blockstateprovider.BlockStateProvider
-
- Direct Known Subclasses:
AxisRotatingBlockStateProvider
,ForestFlowerBlockStateProvider
,PlainFlowerBlockStateProvider
,SimpleBlockStateProvider
,WeightedBlockStateProvider
public abstract class BlockStateProvider extends java.lang.Object
-
-
Field Summary
Fields Modifier and Type Field Description static com.mojang.serialization.Codec<BlockStateProvider>
CODEC
-
Constructor Summary
Constructors Constructor Description BlockStateProvider()
-
Method Summary
All Methods Instance Methods Abstract Methods Modifier and Type Method Description abstract BlockState
getState(java.util.Random p_225574_1_, BlockPos p_225574_2_)
protected abstract BlockStateProviderType<?>
type()
-
-
-
Field Detail
-
CODEC
public static final com.mojang.serialization.Codec<BlockStateProvider> CODEC
-
-
Method Detail
-
type
protected abstract BlockStateProviderType<?> type()
-
getState
public abstract BlockState getState(java.util.Random p_225574_1_, BlockPos p_225574_2_)
-
-