类 ListPoolElement


  • public class ListPoolElement
    extends StructurePoolElement
    Mappings:
    Namespace Name
    official cwt
    intermediary net/minecraft/class_3782
    named net/minecraft/structure/pool/ListPoolElement
    • 字段详细资料

      • CODEC

        public static final com.mojang.serialization.Codec<ListPoolElement> CODEC
        Mappings:
        Namespace Name Mixin selector
        official a Lcwt;a:Lcom/mojang/serialization/Codec;
        intermediary field_24950 Lnet/minecraft/class_3782;field_24950:Lcom/mojang/serialization/Codec;
        named CODEC Lnet/minecraft/structure/pool/ListPoolElement;CODEC:Lcom/mojang/serialization/Codec;
      • elements

        private final List<StructurePoolElement> elements
        Mappings:
        Namespace Name Mixin selector
        official b Lcwt;b:Ljava/util/List;
        intermediary field_16676 Lnet/minecraft/class_3782;field_16676:Ljava/util/List;
        named elements Lnet/minecraft/structure/pool/ListPoolElement;elements:Ljava/util/List;
    • 构造器详细资料

      • ListPoolElement

        public ListPoolElement​(List<StructurePoolElement> elements,
                               StructurePool.Projection projection)
        Mappings:
        Namespace Name Mixin selector
        official <init> Lcwt;<init>(Ljava/util/List;Lcwx$a;)V
        intermediary <init> Lnet/minecraft/class_3782;<init>(Ljava/util/List;Lnet/minecraft/class_3785$class_3786;)V
        named <init> Lnet/minecraft/structure/pool/ListPoolElement;<init>(Ljava/util/List;Lnet/minecraft/structure/pool/StructurePool$Projection;)V
    • 方法详细资料

      • getStart

        public Vec3i getStart​(StructureManager structureManager,
                              BlockRotation blockRotation)
        指定者:
        getStart 在类中 StructurePoolElement
        Mappings:
        Namespace Name Mixin selector
        official a Lcwv;a(Ldbp;Lcek;)Lgw;
        intermediary method_16601 Lnet/minecraft/class_3784;method_16601(Lnet/minecraft/class_3485;Lnet/minecraft/class_2470;)Lnet/minecraft/class_2382;
        named getStart Lnet/minecraft/structure/pool/StructurePoolElement;getStart(Lnet/minecraft/structure/StructureManager;Lnet/minecraft/util/BlockRotation;)Lnet/minecraft/util/math/Vec3i;
      • getStructureBlockInfos

        public List<Structure.StructureBlockInfo> getStructureBlockInfos​(StructureManager structureManager,
                                                                         BlockPos pos,
                                                                         BlockRotation rotation,
                                                                         Random random)
        指定者:
        getStructureBlockInfos 在类中 StructurePoolElement
        Mappings:
        Namespace Name Mixin selector
        official a Lcwv;a(Ldbp;Lgb;Lcek;Ljava/util/Random;)Ljava/util/List;
        intermediary method_16627 Lnet/minecraft/class_3784;method_16627(Lnet/minecraft/class_3485;Lnet/minecraft/class_2338;Lnet/minecraft/class_2470;Ljava/util/Random;)Ljava/util/List;
        named getStructureBlockInfos Lnet/minecraft/structure/pool/StructurePoolElement;getStructureBlockInfos(Lnet/minecraft/structure/StructureManager;Lnet/minecraft/util/math/BlockPos;Lnet/minecraft/util/BlockRotation;Ljava/util/Random;)Ljava/util/List;
      • getBoundingBox

        public BlockBox getBoundingBox​(StructureManager structureManager,
                                       BlockPos pos,
                                       BlockRotation rotation)
        指定者:
        getBoundingBox 在类中 StructurePoolElement
        Mappings:
        Namespace Name Mixin selector
        official a Lcwv;a(Ldbp;Lgb;Lcek;)Lczr;
        intermediary method_16628 Lnet/minecraft/class_3784;method_16628(Lnet/minecraft/class_3485;Lnet/minecraft/class_2338;Lnet/minecraft/class_2470;)Lnet/minecraft/class_3341;
        named getBoundingBox Lnet/minecraft/structure/pool/StructurePoolElement;getBoundingBox(Lnet/minecraft/structure/StructureManager;Lnet/minecraft/util/math/BlockPos;Lnet/minecraft/util/BlockRotation;)Lnet/minecraft/util/math/BlockBox;
      • generate

        public boolean generate​(StructureManager structureManager,
                                StructureWorldAccess world,
                                StructureAccessor structureAccessor,
                                ChunkGenerator chunkGenerator,
                                BlockPos pos,
                                BlockPos blockPos,
                                BlockRotation rotation,
                                BlockBox box,
                                Random random,
                                boolean keepJigsaws)
        指定者:
        generate 在类中 StructurePoolElement
        Mappings:
        Namespace Name Mixin selector
        official a Lcwv;a(Ldbp;Lbwm;Lbwi;Lclm;Lgb;Lgb;Lcek;Lczr;Ljava/util/Random;Z)Z
        intermediary method_16626 Lnet/minecraft/class_3784;method_16626(Lnet/minecraft/class_3485;Lnet/minecraft/class_5281;Lnet/minecraft/class_5138;Lnet/minecraft/class_2794;Lnet/minecraft/class_2338;Lnet/minecraft/class_2338;Lnet/minecraft/class_2470;Lnet/minecraft/class_3341;Ljava/util/Random;Z)Z
        named generate Lnet/minecraft/structure/pool/StructurePoolElement;generate(Lnet/minecraft/structure/StructureManager;Lnet/minecraft/world/StructureWorldAccess;Lnet/minecraft/world/gen/StructureAccessor;Lnet/minecraft/world/gen/chunk/ChunkGenerator;Lnet/minecraft/util/math/BlockPos;Lnet/minecraft/util/math/BlockPos;Lnet/minecraft/util/BlockRotation;Lnet/minecraft/util/math/BlockBox;Ljava/util/Random;Z)Z
      • getType

        public StructurePoolElementType<?> getType()
        指定者:
        getType 在类中 StructurePoolElement
        Mappings:
        Namespace Name Mixin selector
        official a Lcwv;a()Lcww;
        intermediary method_16757 Lnet/minecraft/class_3784;method_16757()Lnet/minecraft/class_3816;
        named getType Lnet/minecraft/structure/pool/StructurePoolElement;getType()Lnet/minecraft/structure/pool/StructurePoolElementType;
      • setProjection

        public StructurePoolElement setProjection​(StructurePool.Projection projection)
        覆盖:
        setProjection 在类中 StructurePoolElement
        Mappings:
        Namespace Name Mixin selector
        official a Lcwv;a(Lcwx$a;)Lcwv;
        intermediary method_16622 Lnet/minecraft/class_3784;method_16622(Lnet/minecraft/class_3785$class_3786;)Lnet/minecraft/class_3784;
        named setProjection Lnet/minecraft/structure/pool/StructurePoolElement;setProjection(Lnet/minecraft/structure/pool/StructurePool$Projection;)Lnet/minecraft/structure/pool/StructurePoolElement;
      • toString

        public String toString()
        覆盖:
        toString 在类中 Object
        Mappings:
        Namespace Name Mixin selector
        official toString Lcwt;toString()Ljava/lang/String;
        intermediary toString Lnet/minecraft/class_3782;toString()Ljava/lang/String;
        named toString Lnet/minecraft/structure/pool/ListPoolElement;toString()Ljava/lang/String;
      • setAllElementsProjection

        private void setAllElementsProjection​(StructurePool.Projection projection)
        Mappings:
        Namespace Name Mixin selector
        official b Lcwt;b(Lcwx$a;)V
        intermediary method_19307 Lnet/minecraft/class_3782;method_19307(Lnet/minecraft/class_3785$class_3786;)V
        named setAllElementsProjection Lnet/minecraft/structure/pool/ListPoolElement;setAllElementsProjection(Lnet/minecraft/structure/pool/StructurePool$Projection;)V