Class SimpleBlockStateProvider

java.lang.Object
net.minecraft.world.gen.stateprovider.BlockStateProvider
net.minecraft.world.gen.stateprovider.SimpleBlockStateProvider

public class SimpleBlockStateProvider
extends BlockStateProvider
Mappings:
Namespace Name
official ctm
intermediary net/minecraft/class_4656
named net/minecraft/world/gen/stateprovider/SimpleBlockStateProvider
  • Field Details

    • CODEC

      public static final com.mojang.serialization.Codec<SimpleBlockStateProvider> CODEC
      Mappings:
      Namespace Name Mixin selector
      official b Lctm;b:Lcom/mojang/serialization/Codec;
      intermediary field_24945 Lnet/minecraft/class_4656;field_24945:Lcom/mojang/serialization/Codec;
      named CODEC Lnet/minecraft/world/gen/stateprovider/SimpleBlockStateProvider;CODEC:Lcom/mojang/serialization/Codec;
    • state

      private final BlockState state
      Mappings:
      Namespace Name Mixin selector
      official c Lctm;c:Lcht;
      intermediary field_21314 Lnet/minecraft/class_4656;field_21314:Lnet/minecraft/class_2680;
      named state Lnet/minecraft/world/gen/stateprovider/SimpleBlockStateProvider;state:Lnet/minecraft/block/BlockState;
  • Constructor Details

    • SimpleBlockStateProvider

      public SimpleBlockStateProvider​(BlockState state)
      Mappings:
      Namespace Name Mixin selector
      official <init> Lctm;<init>(Lcht;)V
      intermediary <init> Lnet/minecraft/class_4656;<init>(Lnet/minecraft/class_2680;)V
      named <init> Lnet/minecraft/world/gen/stateprovider/SimpleBlockStateProvider;<init>(Lnet/minecraft/block/BlockState;)V
  • Method Details

    • getType

      protected BlockStateProviderType<?> getType()
      Specified by:
      getType in class BlockStateProvider
      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

      public BlockState getBlockState​(Random random, BlockPos pos)
      Specified by:
      getBlockState in class BlockStateProvider
      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;