Class AxisRotatingBlockStateProvider
- java.lang.Object
-
- net.minecraft.world.gen.blockstateprovider.BlockStateProvider
-
- net.minecraft.world.gen.blockstateprovider.AxisRotatingBlockStateProvider
-
public class AxisRotatingBlockStateProvider extends BlockStateProvider
-
-
Field Summary
Fields Modifier and Type Field Description private Block
block
static com.mojang.serialization.Codec<AxisRotatingBlockStateProvider>
CODEC
-
Constructor Summary
Constructors Constructor Description AxisRotatingBlockStateProvider(Block p_i225858_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<AxisRotatingBlockStateProvider> CODEC
-
block
private final Block block
-
-
Constructor Detail
-
AxisRotatingBlockStateProvider
public AxisRotatingBlockStateProvider(Block p_i225858_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
-
-