Class PillarBlockStateProvider

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

public class PillarBlockStateProvider extends BlockStateProvider
Mappings:
Namespace Name
named net/minecraft/world/gen/stateprovider/PillarBlockStateProvider
intermediary net/minecraft/class_4655
official egq
  • Field Details

    • CODEC

      public static final com.mojang.serialization.MapCodec<PillarBlockStateProvider> CODEC
      Mappings:
      Namespace Name Mixin selector
      named CODEC Lnet/minecraft/world/gen/stateprovider/PillarBlockStateProvider;CODEC:Lcom/mojang/serialization/MapCodec;
      intermediary field_24944 Lnet/minecraft/class_4655;field_24944:Lcom/mojang/serialization/MapCodec;
      official b Legq;b:Lcom/mojang/serialization/MapCodec;
    • block

      private final Block block
      Mappings:
      Namespace Name Mixin selector
      named block Lnet/minecraft/world/gen/stateprovider/PillarBlockStateProvider;block:Lnet/minecraft/block/Block;
      intermediary field_21313 Lnet/minecraft/class_4655;field_21313:Lnet/minecraft/class_2248;
      official c Legq;c:Ldfy;
  • Constructor Details

    • PillarBlockStateProvider

      public PillarBlockStateProvider(Block block)
      Mappings:
      Namespace Name Mixin selector
      named <init> Lnet/minecraft/world/gen/stateprovider/PillarBlockStateProvider;<init>(Lnet/minecraft/block/Block;)V
      intermediary <init> Lnet/minecraft/class_4655;<init>(Lnet/minecraft/class_2248;)V
      official <init> Legq;<init>(Ldfy;)V
  • Method Details

    • getType

      protected BlockStateProviderType<?> getType()
      Returns the type of this block state provider.
      Specified by:
      getType in class BlockStateProvider
      Returns:
      the type of this block state provider
      Implementation Note:
      The returned block state provider type should be registered so that the type field is properly serialized.
      Mappings:
      Namespace Name Mixin selector
      named getType Lnet/minecraft/world/gen/stateprovider/BlockStateProvider;getType()Lnet/minecraft/world/gen/stateprovider/BlockStateProviderType;
      intermediary method_28862 Lnet/minecraft/class_4651;method_28862()Lnet/minecraft/class_4652;
      official a Legj;a()Legk;
    • get

      public BlockState get(Random random, BlockPos pos)
      Returns a provided block state.
      Specified by:
      get in class BlockStateProvider
      Returns:
      a provided block state
      Mappings:
      Namespace Name Mixin selector
      named get Lnet/minecraft/world/gen/stateprovider/BlockStateProvider;get(Lnet/minecraft/util/math/random/Random;Lnet/minecraft/util/math/BlockPos;)Lnet/minecraft/block/BlockState;
      intermediary method_23455 Lnet/minecraft/class_4651;method_23455(Lnet/minecraft/class_5819;Lnet/minecraft/class_2338;)Lnet/minecraft/class_2680;
      official a Legj;a(Layw;Ljd;)Ldtc;