Class BlockStateProvider
java.lang.Object
net.minecraft.world.gen.stateprovider.BlockStateProvider
- Direct Known Subclasses:
ForestFlowerBlockStateProvider
,PillarBlockStateProvider
,PlainsFlowerBlockStateProvider
,SimpleBlockStateProvider
,WeightedBlockStateProvider
public abstract class BlockStateProvider extends Object
- Mappings:
Namespace Name official cth
intermediary net/minecraft/class_4651
named net/minecraft/world/gen/stateprovider/BlockStateProvider
-
Field Summary
Fields Modifier and Type Field Description static com.mojang.serialization.Codec<BlockStateProvider>
TYPE_CODEC
-
Constructor Summary
Constructors Constructor Description BlockStateProvider()
-
Method Summary
Modifier and Type Method Description abstract BlockState
getBlockState(Random random, BlockPos pos)
protected abstract BlockStateProviderType<?>
getType()
-
Field Details
-
TYPE_CODEC
- Mappings:
Namespace Name Mixin selector official a
Lcth;a:Lcom/mojang/serialization/Codec;
intermediary field_24937
Lnet/minecraft/class_4651;field_24937:Lcom/mojang/serialization/Codec;
named TYPE_CODEC
Lnet/minecraft/world/gen/stateprovider/BlockStateProvider;TYPE_CODEC:Lcom/mojang/serialization/Codec;
-
-
Constructor Details
-
BlockStateProvider
public BlockStateProvider()
-
-
Method Details
-
getType
- Mappings:
Namespace Name Mixin selector official a
Lcth;a()Lcti;
intermediary method_28862
Lnet/minecraft/class_4651;method_28862()Lnet/minecraft/class_4652;
named getType
Lnet/minecraft/world/gen/stateprovider/BlockStateProvider;getType()Lnet/minecraft/world/gen/stateprovider/BlockStateProviderType;
-
getBlockState
- Mappings:
Namespace Name Mixin selector official a
Lcth;a(Ljava/util/Random;Lfx;)Lcht;
intermediary method_23455
Lnet/minecraft/class_4651;method_23455(Ljava/util/Random;Lnet/minecraft/class_2338;)Lnet/minecraft/class_2680;
named getBlockState
Lnet/minecraft/world/gen/stateprovider/BlockStateProvider;getBlockState(Ljava/util/Random;Lnet/minecraft/util/math/BlockPos;)Lnet/minecraft/block/BlockState;
-