Class BlockAgeStructureProcessor

java.lang.Object
net.minecraft.structure.processor.StructureProcessor
net.minecraft.structure.processor.BlockAgeStructureProcessor

public class BlockAgeStructureProcessor extends StructureProcessor
Mappings:
Namespace Name
official dbv
intermediary net/minecraft/class_5193
named net/minecraft/structure/processor/BlockAgeStructureProcessor
  • Field Details

    • CODEC

      public static final com.mojang.serialization.Codec<BlockAgeStructureProcessor> CODEC
      Mappings:
      Namespace Name Mixin selector
      official a Ldbv;a:Lcom/mojang/serialization/Codec;
      intermediary field_24997 Lnet/minecraft/class_5193;field_24997:Lcom/mojang/serialization/Codec;
      named CODEC Lnet/minecraft/structure/processor/BlockAgeStructureProcessor;CODEC:Lcom/mojang/serialization/Codec;
    • field_31681

      private static final float field_31681
      See Also:
      Mappings:
      Namespace Name Mixin selector
      official b Ldbv;b:F
      intermediary field_31681 Lnet/minecraft/class_5193;field_31681:F
      named field_31681 Lnet/minecraft/structure/processor/BlockAgeStructureProcessor;field_31681:F
    • field_31682

      private static final float field_31682
      See Also:
      Mappings:
      Namespace Name Mixin selector
      official c Ldbv;c:F
      intermediary field_31682 Lnet/minecraft/class_5193;field_31682:F
      named field_31682 Lnet/minecraft/structure/processor/BlockAgeStructureProcessor;field_31682:F
    • field_31683

      private static final float field_31683
      See Also:
      Mappings:
      Namespace Name Mixin selector
      official d Ldbv;d:F
      intermediary field_31683 Lnet/minecraft/class_5193;field_31683:F
      named field_31683 Lnet/minecraft/structure/processor/BlockAgeStructureProcessor;field_31683:F
    • AGEABLE_SLABS

      private static final BlockState[] AGEABLE_SLABS
      Mappings:
      Namespace Name Mixin selector
      official e Ldbv;e:[Lcks;
      intermediary field_27338 Lnet/minecraft/class_5193;field_27338:[Lnet/minecraft/class_2680;
      named AGEABLE_SLABS Lnet/minecraft/structure/processor/BlockAgeStructureProcessor;AGEABLE_SLABS:[Lnet/minecraft/block/BlockState;
    • mossiness

      private final float mossiness
      Mappings:
      Namespace Name Mixin selector
      official f Ldbv;f:F
      intermediary field_24042 Lnet/minecraft/class_5193;field_24042:F
      named mossiness Lnet/minecraft/structure/processor/BlockAgeStructureProcessor;mossiness:F
  • Constructor Details

    • BlockAgeStructureProcessor

      public BlockAgeStructureProcessor(float mossiness)
      Mappings:
      Namespace Name Mixin selector
      official <init> Ldbv;<init>(F)V
      intermediary <init> Lnet/minecraft/class_5193;<init>(F)V
      named <init> Lnet/minecraft/structure/processor/BlockAgeStructureProcessor;<init>(F)V
  • Method Details

    • process

      @Nullable public Structure.StructureBlockInfo process(WorldView world, BlockPos pos, BlockPos pivot, Structure.StructureBlockInfo structureBlockInfo, Structure.StructureBlockInfo structureBlockInfo2, StructurePlacementData data)
      Specified by:
      process in class StructureProcessor
      Mappings:
      Namespace Name Mixin selector
      official a Ldcr;a(Lbws;Lgg;Lgg;Ldcu$c;Ldcu$c;Ldcq;)Ldcu$c;
      intermediary method_15110 Lnet/minecraft/class_3491;method_15110(Lnet/minecraft/class_4538;Lnet/minecraft/class_2338;Lnet/minecraft/class_2338;Lnet/minecraft/class_3499$class_3501;Lnet/minecraft/class_3499$class_3501;Lnet/minecraft/class_3492;)Lnet/minecraft/class_3499$class_3501;
      named process Lnet/minecraft/structure/processor/StructureProcessor;process(Lnet/minecraft/world/WorldView;Lnet/minecraft/util/math/BlockPos;Lnet/minecraft/util/math/BlockPos;Lnet/minecraft/structure/Structure$StructureBlockInfo;Lnet/minecraft/structure/Structure$StructureBlockInfo;Lnet/minecraft/structure/StructurePlacementData;)Lnet/minecraft/structure/Structure$StructureBlockInfo;
    • processBlocks

      @Nullable private @Nullable BlockState processBlocks(Random random)
      Mappings:
      Namespace Name Mixin selector
      official a Ldbv;a(Ljava/util/Random;)Lcks;
      intermediary method_27256 Lnet/minecraft/class_5193;method_27256(Ljava/util/Random;)Lnet/minecraft/class_2680;
      named processBlocks Lnet/minecraft/structure/processor/BlockAgeStructureProcessor;processBlocks(Ljava/util/Random;)Lnet/minecraft/block/BlockState;
    • processStairs

      @Nullable private @Nullable BlockState processStairs(Random random, BlockState state)
      Mappings:
      Namespace Name Mixin selector
      official a Ldbv;a(Ljava/util/Random;Lcks;)Lcks;
      intermediary method_27258 Lnet/minecraft/class_5193;method_27258(Ljava/util/Random;Lnet/minecraft/class_2680;)Lnet/minecraft/class_2680;
      named processStairs Lnet/minecraft/structure/processor/BlockAgeStructureProcessor;processStairs(Ljava/util/Random;Lnet/minecraft/block/BlockState;)Lnet/minecraft/block/BlockState;
    • processSlabs

      @Nullable private @Nullable BlockState processSlabs(Random random)
      Mappings:
      Namespace Name Mixin selector
      official b Ldbv;b(Ljava/util/Random;)Lcks;
      intermediary method_27261 Lnet/minecraft/class_5193;method_27261(Ljava/util/Random;)Lnet/minecraft/class_2680;
      named processSlabs Lnet/minecraft/structure/processor/BlockAgeStructureProcessor;processSlabs(Ljava/util/Random;)Lnet/minecraft/block/BlockState;
    • processWalls

      @Nullable private @Nullable BlockState processWalls(Random random)
      Mappings:
      Namespace Name Mixin selector
      official c Ldbv;c(Ljava/util/Random;)Lcks;
      intermediary method_27262 Lnet/minecraft/class_5193;method_27262(Ljava/util/Random;)Lnet/minecraft/class_2680;
      named processWalls Lnet/minecraft/structure/processor/BlockAgeStructureProcessor;processWalls(Ljava/util/Random;)Lnet/minecraft/block/BlockState;
    • processObsidian

      @Nullable private @Nullable BlockState processObsidian(Random random)
      Mappings:
      Namespace Name Mixin selector
      official d Ldbv;d(Ljava/util/Random;)Lcks;
      intermediary method_27263 Lnet/minecraft/class_5193;method_27263(Ljava/util/Random;)Lnet/minecraft/class_2680;
      named processObsidian Lnet/minecraft/structure/processor/BlockAgeStructureProcessor;processObsidian(Ljava/util/Random;)Lnet/minecraft/block/BlockState;
    • randomStairProperties

      private static BlockState randomStairProperties(Random random, Block stairs)
      Mappings:
      Namespace Name Mixin selector
      official a Ldbv;a(Ljava/util/Random;Lbzo;)Lcks;
      intermediary method_27257 Lnet/minecraft/class_5193;method_27257(Ljava/util/Random;Lnet/minecraft/class_2248;)Lnet/minecraft/class_2680;
      named randomStairProperties Lnet/minecraft/structure/processor/BlockAgeStructureProcessor;randomStairProperties(Ljava/util/Random;Lnet/minecraft/block/Block;)Lnet/minecraft/block/BlockState;
    • process

      private BlockState process(Random random, BlockState[] regularStates, BlockState[] mossyStates)
      Mappings:
      Namespace Name Mixin selector
      official a Ldbv;a(Ljava/util/Random;[Lcks;[Lcks;)Lcks;
      intermediary method_27260 Lnet/minecraft/class_5193;method_27260(Ljava/util/Random;[Lnet/minecraft/class_2680;[Lnet/minecraft/class_2680;)Lnet/minecraft/class_2680;
      named process Lnet/minecraft/structure/processor/BlockAgeStructureProcessor;process(Ljava/util/Random;[Lnet/minecraft/block/BlockState;[Lnet/minecraft/block/BlockState;)Lnet/minecraft/block/BlockState;
    • randomState

      private static BlockState randomState(Random random, BlockState[] states)
      Mappings:
      Namespace Name Mixin selector
      official a Ldbv;a(Ljava/util/Random;[Lcks;)Lcks;
      intermediary method_27259 Lnet/minecraft/class_5193;method_27259(Ljava/util/Random;[Lnet/minecraft/class_2680;)Lnet/minecraft/class_2680;
      named randomState Lnet/minecraft/structure/processor/BlockAgeStructureProcessor;randomState(Ljava/util/Random;[Lnet/minecraft/block/BlockState;)Lnet/minecraft/block/BlockState;
    • getType

      protected StructureProcessorType<?> getType()
      Specified by:
      getType in class StructureProcessor
      Mappings:
      Namespace Name Mixin selector
      official a Ldcr;a()Ldct;
      intermediary method_16772 Lnet/minecraft/class_3491;method_16772()Lnet/minecraft/class_3828;
      named getType Lnet/minecraft/structure/processor/StructureProcessor;getType()Lnet/minecraft/structure/processor/StructureProcessorType;