Class RuleStructureProcessor

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

public class RuleStructureProcessor extends StructureProcessor
Mappings:
Namespace Name
official dcm
intermediary net/minecraft/class_3826
named net/minecraft/structure/processor/RuleStructureProcessor
  • Field Details

    • CODEC

      public static final com.mojang.serialization.Codec<RuleStructureProcessor> CODEC
      Mappings:
      Namespace Name Mixin selector
      official a Ldcm;a:Lcom/mojang/serialization/Codec;
      intermediary field_25011 Lnet/minecraft/class_3826;field_25011:Lcom/mojang/serialization/Codec;
      named CODEC Lnet/minecraft/structure/processor/RuleStructureProcessor;CODEC:Lcom/mojang/serialization/Codec;
    • rules

      private final ImmutableList<StructureProcessorRule> rules
      Mappings:
      Namespace Name Mixin selector
      official b Ldcm;b:Lcom/google/common/collect/ImmutableList;
      intermediary field_16881 Lnet/minecraft/class_3826;field_16881:Lcom/google/common/collect/ImmutableList;
      named rules Lnet/minecraft/structure/processor/RuleStructureProcessor;rules:Lcom/google/common/collect/ImmutableList;
  • Constructor Details

    • RuleStructureProcessor

      public RuleStructureProcessor(List<? extends StructureProcessorRule> rules)
      Mappings:
      Namespace Name Mixin selector
      official <init> Ldcm;<init>(Ljava/util/List;)V
      intermediary <init> Lnet/minecraft/class_3826;<init>(Ljava/util/List;)V
      named <init> Lnet/minecraft/structure/processor/RuleStructureProcessor;<init>(Ljava/util/List;)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;