Class GravityStructureProcessor

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

public class GravityStructureProcessor extends StructureProcessor
Mappings:
Namespace Name
official dca
intermediary net/minecraft/class_3795
named net/minecraft/structure/processor/GravityStructureProcessor
  • Field Details

    • CODEC

      public static final com.mojang.serialization.Codec<GravityStructureProcessor> CODEC
      Mappings:
      Namespace Name Mixin selector
      official a Ldca;a:Lcom/mojang/serialization/Codec;
      intermediary field_25002 Lnet/minecraft/class_3795;field_25002:Lcom/mojang/serialization/Codec;
      named CODEC Lnet/minecraft/structure/processor/GravityStructureProcessor;CODEC:Lcom/mojang/serialization/Codec;
    • heightmap

      private final Heightmap.Type heightmap
      Mappings:
      Namespace Name Mixin selector
      official b Ldca;b:Lcps$a;
      intermediary field_16723 Lnet/minecraft/class_3795;field_16723:Lnet/minecraft/class_2902$class_2903;
      named heightmap Lnet/minecraft/structure/processor/GravityStructureProcessor;heightmap:Lnet/minecraft/world/Heightmap$Type;
    • offset

      private final int offset
      Mappings:
      Namespace Name Mixin selector
      official c Ldca;c:I
      intermediary field_16725 Lnet/minecraft/class_3795;field_16725:I
      named offset Lnet/minecraft/structure/processor/GravityStructureProcessor;offset:I
  • Constructor Details

    • GravityStructureProcessor

      public GravityStructureProcessor(Heightmap.Type heightmap, int offset)
      Mappings:
      Namespace Name Mixin selector
      official <init> Ldca;<init>(Lcps$a;I)V
      intermediary <init> Lnet/minecraft/class_3795;<init>(Lnet/minecraft/class_2902$class_2903;I)V
      named <init> Lnet/minecraft/structure/processor/GravityStructureProcessor;<init>(Lnet/minecraft/world/Heightmap$Type;I)V
  • Method Details

    • process

      @Nullable public Structure.StructureBlockInfo process(WorldView world, BlockPos pos, BlockPos blockPos, Structure.StructureBlockInfo structureBlockInfo, Structure.StructureBlockInfo structureBlockInfo2, StructurePlacementData structurePlacementData)
      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;
    • 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;