Class BlockStateProvider

java.lang.Object
net.minecraft.world.gen.stateprovider.BlockStateProvider
Direct Known Subclasses:
ForestFlowerBlockStateProvider, PillarBlockStateProvider, PlainsFlowerBlockStateProvider, RandomizedIntBlockStateProvider, SimpleBlockStateProvider, WeightedBlockStateProvider

public abstract class BlockStateProvider extends Object
Mappings:
Namespace Name
official cxj
intermediary net/minecraft/class_4651
named net/minecraft/world/gen/stateprovider/BlockStateProvider
  • Field Details

    • TYPE_CODEC

      public static final com.mojang.serialization.Codec<BlockStateProvider> TYPE_CODEC
      Mappings:
      Namespace Name Mixin selector
      official a Lcxj;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

      protected abstract BlockStateProviderType<?> getType()
      Mappings:
      Namespace Name Mixin selector
      official a Lcxj;a()Lcxk;
      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

      public abstract BlockState getBlockState(Random random, BlockPos pos)
      Mappings:
      Namespace Name Mixin selector
      official a Lcxj;a(Ljava/util/Random;Lgg;)Lcks;
      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;