类 StructurePoolBasedGenerator.StructurePoolGenerator

  • 封闭类:
    StructurePoolBasedGenerator

    static final class StructurePoolBasedGenerator.StructurePoolGenerator
    extends Object
    Mappings:
    Namespace Name
    official cwr$c
    intermediary net/minecraft/class_3778$class_4182
    named net/minecraft/structure/pool/StructurePoolBasedGenerator$StructurePoolGenerator
    • 字段详细资料

      • registry

        private final Registry<StructurePool> registry
        Mappings:
        Namespace Name Mixin selector
        official a Lcwr$c;a:Lgr;
        intermediary field_25852 Lnet/minecraft/class_3778$class_4182;field_25852:Lnet/minecraft/class_2378;
        named registry Lnet/minecraft/structure/pool/StructurePoolBasedGenerator$StructurePoolGenerator;registry:Lnet/minecraft/util/registry/Registry;
      • maxSize

        private final int maxSize
        Mappings:
        Namespace Name Mixin selector
        official b Lcwr$c;b:I
        intermediary field_18700 Lnet/minecraft/class_3778$class_4182;field_18700:I
        named maxSize Lnet/minecraft/structure/pool/StructurePoolBasedGenerator$StructurePoolGenerator;maxSize:I
      • pieceFactory

        private final StructurePoolBasedGenerator.PieceFactory pieceFactory
        Mappings:
        Namespace Name Mixin selector
        official c Lcwr$c;c:Lcwr$a;
        intermediary field_18701 Lnet/minecraft/class_3778$class_4182;field_18701:Lnet/minecraft/class_3778$class_3779;
        named pieceFactory Lnet/minecraft/structure/pool/StructurePoolBasedGenerator$StructurePoolGenerator;pieceFactory:Lnet/minecraft/structure/pool/StructurePoolBasedGenerator$PieceFactory;
      • chunkGenerator

        private final ChunkGenerator chunkGenerator
        Mappings:
        Namespace Name Mixin selector
        official d Lcwr$c;d:Lclm;
        intermediary field_18702 Lnet/minecraft/class_3778$class_4182;field_18702:Lnet/minecraft/class_2794;
        named chunkGenerator Lnet/minecraft/structure/pool/StructurePoolBasedGenerator$StructurePoolGenerator;chunkGenerator:Lnet/minecraft/world/gen/chunk/ChunkGenerator;
      • structureManager

        private final StructureManager structureManager
        Mappings:
        Namespace Name Mixin selector
        official e Lcwr$c;e:Ldbp;
        intermediary field_18703 Lnet/minecraft/class_3778$class_4182;field_18703:Lnet/minecraft/class_3485;
        named structureManager Lnet/minecraft/structure/pool/StructurePoolBasedGenerator$StructurePoolGenerator;structureManager:Lnet/minecraft/structure/StructureManager;
      • children

        private final List<? super PoolStructurePiece> children
        Mappings:
        Namespace Name Mixin selector
        official f Lcwr$c;f:Ljava/util/List;
        intermediary field_18704 Lnet/minecraft/class_3778$class_4182;field_18704:Ljava/util/List;
        named children Lnet/minecraft/structure/pool/StructurePoolBasedGenerator$StructurePoolGenerator;children:Ljava/util/List;
      • random

        private final Random random
        Mappings:
        Namespace Name Mixin selector
        official g Lcwr$c;g:Ljava/util/Random;
        intermediary field_18705 Lnet/minecraft/class_3778$class_4182;field_18705:Ljava/util/Random;
        named random Lnet/minecraft/structure/pool/StructurePoolBasedGenerator$StructurePoolGenerator;random:Ljava/util/Random;
      • structurePieces

        private final Deque<StructurePoolBasedGenerator.ShapedPoolStructurePiece> structurePieces
        Mappings:
        Namespace Name Mixin selector
        official h Lcwr$c;h:Ljava/util/Deque;
        intermediary field_18706 Lnet/minecraft/class_3778$class_4182;field_18706:Ljava/util/Deque;
        named structurePieces Lnet/minecraft/structure/pool/StructurePoolBasedGenerator$StructurePoolGenerator;structurePieces:Ljava/util/Deque;
    • 构造器详细资料

      • StructurePoolGenerator

        private StructurePoolGenerator​(Registry<StructurePool> registry,
                                       int maxSize,
                                       StructurePoolBasedGenerator.PieceFactory pieceFactory,
                                       ChunkGenerator chunkGenerator,
                                       StructureManager structureManager,
                                       List<? super PoolStructurePiece> children,
                                       Random random)
        Mappings:
        Namespace Name Mixin selector
        official <init> Lcwr$c;<init>(Lgr;ILcwr$a;Lclm;Ldbp;Ljava/util/List;Ljava/util/Random;)V
        intermediary <init> Lnet/minecraft/class_3778$class_4182;<init>(Lnet/minecraft/class_2378;ILnet/minecraft/class_3778$class_3779;Lnet/minecraft/class_2794;Lnet/minecraft/class_3485;Ljava/util/List;Ljava/util/Random;)V
        named <init> Lnet/minecraft/structure/pool/StructurePoolBasedGenerator$StructurePoolGenerator;<init>(Lnet/minecraft/util/registry/Registry;ILnet/minecraft/structure/pool/StructurePoolBasedGenerator$PieceFactory;Lnet/minecraft/world/gen/chunk/ChunkGenerator;Lnet/minecraft/structure/StructureManager;Ljava/util/List;Ljava/util/Random;)V
    • 方法详细资料

      • generatePiece

        private void generatePiece​(PoolStructurePiece piece,
                                   MutableObject<VoxelShape> mutableObject,
                                   int minY,
                                   int currentSize,
                                   boolean bool,
                                   HeightLimitView heightLimitView)
        Mappings:
        Namespace Name Mixin selector
        official a Lcwr$c;a(Ldag;Lorg/apache/commons/lang3/mutable/MutableObject;IIZLbvt;)V
        intermediary method_19306 Lnet/minecraft/class_3778$class_4182;method_19306(Lnet/minecraft/class_3790;Lorg/apache/commons/lang3/mutable/MutableObject;IIZLnet/minecraft/class_5539;)V
        named generatePiece Lnet/minecraft/structure/pool/StructurePoolBasedGenerator$StructurePoolGenerator;generatePiece(Lnet/minecraft/structure/PoolStructurePiece;Lorg/apache/commons/lang3/mutable/MutableObject;IIZLnet/minecraft/world/HeightLimitView;)V