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
official did
intermediary net/minecraft/class_4655
named net/minecraft/world/gen/stateprovider/PillarBlockStateProvider
  • Field Details

    • CODEC

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

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

    • PillarBlockStateProvider

      public PillarBlockStateProvider(Block block)
      Mappings:
      Namespace Name Mixin selector
      official <init> Ldid;<init>(Lcjt;)V
      intermediary <init> Lnet/minecraft/class_4655;<init>(Lnet/minecraft/class_2248;)V
      named <init> Lnet/minecraft/world/gen/stateprovider/PillarBlockStateProvider;<init>(Lnet/minecraft/block/Block;)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
      Mappings:
      Namespace Name Mixin selector
      official a Ldhw;a()Ldhx;
      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)
      Returns a provided block state.
      Specified by:
      getBlockState in class BlockStateProvider
      Returns:
      a provided block state
      Mappings:
      Namespace Name Mixin selector
      official a Ldhw;a(Lamn;Lgt;)Lcvo;
      intermediary method_23455 Lnet/minecraft/class_4651;method_23455(Lnet/minecraft/class_5819;Lnet/minecraft/class_2338;)Lnet/minecraft/class_2680;
      named getBlockState Lnet/minecraft/world/gen/stateprovider/BlockStateProvider;getBlockState(Lnet/minecraft/util/math/random/Random;Lnet/minecraft/util/math/BlockPos;)Lnet/minecraft/block/BlockState;