Class PlainFlowerBlockStateProvider
- java.lang.Object
-
- net.minecraft.world.gen.blockstateprovider.BlockStateProvider
-
- net.minecraft.world.gen.blockstateprovider.PlainFlowerBlockStateProvider
-
public class PlainFlowerBlockStateProvider extends BlockStateProvider
-
-
Field Summary
Fields Modifier and Type Field Description static com.mojang.serialization.Codec<PlainFlowerBlockStateProvider>
CODEC
private static BlockState[]
HIGH_NOISE_FLOWERS
static PlainFlowerBlockStateProvider
INSTANCE
private static BlockState[]
LOW_NOISE_FLOWERS
-
Constructor Summary
Constructors Constructor Description PlainFlowerBlockStateProvider()
-
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<PlainFlowerBlockStateProvider> CODEC
-
INSTANCE
public static final PlainFlowerBlockStateProvider INSTANCE
-
LOW_NOISE_FLOWERS
private static final BlockState[] LOW_NOISE_FLOWERS
-
HIGH_NOISE_FLOWERS
private static final BlockState[] HIGH_NOISE_FLOWERS
-
-
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
-
-