Class StructureTemplate

java.lang.Object
net.minecraft.structure.StructureTemplate

public class StructureTemplate extends Object
Mappings:
Namespace Name
official dnw
intermediary net/minecraft/class_3499
named net/minecraft/structure/StructureTemplate
  • Field Details

    • PALETTE_KEY

      public static final String PALETTE_KEY
      See Also:
      Mappings:
      Namespace Name Mixin selector
      official a Ldnw;a:Ljava/lang/String;
      intermediary field_31687 Lnet/minecraft/class_3499;field_31687:Ljava/lang/String;
      named PALETTE_KEY Lnet/minecraft/structure/StructureTemplate;PALETTE_KEY:Ljava/lang/String;
    • PALETTES_KEY

      public static final String PALETTES_KEY
      See Also:
      Mappings:
      Namespace Name Mixin selector
      official b Ldnw;b:Ljava/lang/String;
      intermediary field_31688 Lnet/minecraft/class_3499;field_31688:Ljava/lang/String;
      named PALETTES_KEY Lnet/minecraft/structure/StructureTemplate;PALETTES_KEY:Ljava/lang/String;
    • ENTITIES_KEY

      public static final String ENTITIES_KEY
      See Also:
      Mappings:
      Namespace Name Mixin selector
      official c Ldnw;c:Ljava/lang/String;
      intermediary field_31689 Lnet/minecraft/class_3499;field_31689:Ljava/lang/String;
      named ENTITIES_KEY Lnet/minecraft/structure/StructureTemplate;ENTITIES_KEY:Ljava/lang/String;
    • BLOCKS_KEY

      public static final String BLOCKS_KEY
      See Also:
      Mappings:
      Namespace Name Mixin selector
      official d Ldnw;d:Ljava/lang/String;
      intermediary field_31690 Lnet/minecraft/class_3499;field_31690:Ljava/lang/String;
      named BLOCKS_KEY Lnet/minecraft/structure/StructureTemplate;BLOCKS_KEY:Ljava/lang/String;
    • BLOCKS_POS_KEY

      public static final String BLOCKS_POS_KEY
      See Also:
      Mappings:
      Namespace Name Mixin selector
      official e Ldnw;e:Ljava/lang/String;
      intermediary field_31691 Lnet/minecraft/class_3499;field_31691:Ljava/lang/String;
      named BLOCKS_POS_KEY Lnet/minecraft/structure/StructureTemplate;BLOCKS_POS_KEY:Ljava/lang/String;
    • BLOCKS_STATE_KEY

      public static final String BLOCKS_STATE_KEY
      See Also:
      Mappings:
      Namespace Name Mixin selector
      official f Ldnw;f:Ljava/lang/String;
      intermediary field_31692 Lnet/minecraft/class_3499;field_31692:Ljava/lang/String;
      named BLOCKS_STATE_KEY Lnet/minecraft/structure/StructureTemplate;BLOCKS_STATE_KEY:Ljava/lang/String;
    • BLOCKS_NBT_KEY

      public static final String BLOCKS_NBT_KEY
      See Also:
      Mappings:
      Namespace Name Mixin selector
      official g Ldnw;g:Ljava/lang/String;
      intermediary field_31693 Lnet/minecraft/class_3499;field_31693:Ljava/lang/String;
      named BLOCKS_NBT_KEY Lnet/minecraft/structure/StructureTemplate;BLOCKS_NBT_KEY:Ljava/lang/String;
    • ENTITIES_POS_KEY

      public static final String ENTITIES_POS_KEY
      See Also:
      Mappings:
      Namespace Name Mixin selector
      official h Ldnw;h:Ljava/lang/String;
      intermediary field_31694 Lnet/minecraft/class_3499;field_31694:Ljava/lang/String;
      named ENTITIES_POS_KEY Lnet/minecraft/structure/StructureTemplate;ENTITIES_POS_KEY:Ljava/lang/String;
    • ENTITIES_BLOCK_POS_KEY

      public static final String ENTITIES_BLOCK_POS_KEY
      See Also:
      Mappings:
      Namespace Name Mixin selector
      official i Ldnw;i:Ljava/lang/String;
      intermediary field_31695 Lnet/minecraft/class_3499;field_31695:Ljava/lang/String;
      named ENTITIES_BLOCK_POS_KEY Lnet/minecraft/structure/StructureTemplate;ENTITIES_BLOCK_POS_KEY:Ljava/lang/String;
    • ENTITIES_NBT_KEY

      public static final String ENTITIES_NBT_KEY
      See Also:
      Mappings:
      Namespace Name Mixin selector
      official j Ldnw;j:Ljava/lang/String;
      intermediary field_31696 Lnet/minecraft/class_3499;field_31696:Ljava/lang/String;
      named ENTITIES_NBT_KEY Lnet/minecraft/structure/StructureTemplate;ENTITIES_NBT_KEY:Ljava/lang/String;
    • SIZE_KEY

      public static final String SIZE_KEY
      See Also:
      Mappings:
      Namespace Name Mixin selector
      official k Ldnw;k:Ljava/lang/String;
      intermediary field_31697 Lnet/minecraft/class_3499;field_31697:Ljava/lang/String;
      named SIZE_KEY Lnet/minecraft/structure/StructureTemplate;SIZE_KEY:Ljava/lang/String;
    • field_31698

      static final int field_31698
      See Also:
      Mappings:
      Namespace Name Mixin selector
      official l Ldnw;l:I
      intermediary field_31698 Lnet/minecraft/class_3499;field_31698:I
      named field_31698 Lnet/minecraft/structure/StructureTemplate;field_31698:I
    • blockInfoLists

      private final List<StructureTemplate.PalettedBlockInfoList> blockInfoLists
      Mappings:
      Namespace Name Mixin selector
      official m Ldnw;m:Ljava/util/List;
      intermediary field_15586 Lnet/minecraft/class_3499;field_15586:Ljava/util/List;
      named blockInfoLists Lnet/minecraft/structure/StructureTemplate;blockInfoLists:Ljava/util/List;
    • entities

      Mappings:
      Namespace Name Mixin selector
      official n Ldnw;n:Ljava/util/List;
      intermediary field_15589 Lnet/minecraft/class_3499;field_15589:Ljava/util/List;
      named entities Lnet/minecraft/structure/StructureTemplate;entities:Ljava/util/List;
    • size

      private Vec3i size
      Mappings:
      Namespace Name Mixin selector
      official o Ldnw;o:Lhs;
      intermediary field_15587 Lnet/minecraft/class_3499;field_15587:Lnet/minecraft/class_2382;
      named size Lnet/minecraft/structure/StructureTemplate;size:Lnet/minecraft/util/math/Vec3i;
    • author

      private String author
      Mappings:
      Namespace Name Mixin selector
      official p Ldnw;p:Ljava/lang/String;
      intermediary field_15588 Lnet/minecraft/class_3499;field_15588:Ljava/lang/String;
      named author Lnet/minecraft/structure/StructureTemplate;author:Ljava/lang/String;
  • Constructor Details

    • StructureTemplate

      public StructureTemplate()
  • Method Details

    • getSize

      public Vec3i getSize()
      Mappings:
      Namespace Name Mixin selector
      official a Ldnw;a()Lhs;
      intermediary method_15160 Lnet/minecraft/class_3499;method_15160()Lnet/minecraft/class_2382;
      named getSize Lnet/minecraft/structure/StructureTemplate;getSize()Lnet/minecraft/util/math/Vec3i;
    • setAuthor

      public void setAuthor(String author)
      Mappings:
      Namespace Name Mixin selector
      official a Ldnw;a(Ljava/lang/String;)V
      intermediary method_15161 Lnet/minecraft/class_3499;method_15161(Ljava/lang/String;)V
      named setAuthor Lnet/minecraft/structure/StructureTemplate;setAuthor(Ljava/lang/String;)V
    • getAuthor

      public String getAuthor()
      Mappings:
      Namespace Name Mixin selector
      official b Ldnw;b()Ljava/lang/String;
      intermediary method_15181 Lnet/minecraft/class_3499;method_15181()Ljava/lang/String;
      named getAuthor Lnet/minecraft/structure/StructureTemplate;getAuthor()Ljava/lang/String;
    • saveFromWorld

      public void saveFromWorld(World world, BlockPos start, Vec3i dimensions, boolean includeEntities, @Nullable @Nullable Block ignoredBlock)
      Mappings:
      Namespace Name Mixin selector
      official a Ldnw;a(Lcga;Lgt;Lhs;ZLciw;)V
      intermediary method_15174 Lnet/minecraft/class_3499;method_15174(Lnet/minecraft/class_1937;Lnet/minecraft/class_2338;Lnet/minecraft/class_2382;ZLnet/minecraft/class_2248;)V
      named saveFromWorld Lnet/minecraft/structure/StructureTemplate;saveFromWorld(Lnet/minecraft/world/World;Lnet/minecraft/util/math/BlockPos;Lnet/minecraft/util/math/Vec3i;ZLnet/minecraft/block/Block;)V
    • categorize

      Categorizes blockInfo based on its properties, modifying the passed lists in-place.

      If the block has an NBT associated with it, then it will be put in blocksWithNbt. If the block does not have an NBT associated with it, but is always a full cube, then it will be put in fullBlocks. Otherwise, it will be put in otherBlocks.

      API Note:
      After all blocks are categorized, combineSorted(java.util.List<net.minecraft.structure.StructureTemplate.StructureBlockInfo>, java.util.List<net.minecraft.structure.StructureTemplate.StructureBlockInfo>, java.util.List<net.minecraft.structure.StructureTemplate.StructureBlockInfo>) should be called with the same parameters to get the final list.
      Mappings:
      Namespace Name Mixin selector
      official a Ldnw;a(Ldnw$c;Ljava/util/List;Ljava/util/List;Ljava/util/List;)V
      intermediary method_28054 Lnet/minecraft/class_3499;method_28054(Lnet/minecraft/class_3499$class_3501;Ljava/util/List;Ljava/util/List;Ljava/util/List;)V
      named categorize Lnet/minecraft/structure/StructureTemplate;categorize(Lnet/minecraft/structure/StructureTemplate$StructureBlockInfo;Ljava/util/List;Ljava/util/List;Ljava/util/List;)V
    • combineSorted

      Returns the list that sorts and combines the passed block lists.
      Returns:
      the list that sorts and combines the passed block lists
      API Note:
      The parameters passed should be the same one that was passed to previous calls to categorize(net.minecraft.structure.StructureTemplate.StructureBlockInfo, java.util.List<net.minecraft.structure.StructureTemplate.StructureBlockInfo>, java.util.List<net.minecraft.structure.StructureTemplate.StructureBlockInfo>, java.util.List<net.minecraft.structure.StructureTemplate.StructureBlockInfo>). The returned value is meant to be passed to StructureTemplate.PalettedBlockInfoList.
      Implementation Note:
      Each list passed will be sorted in-place using the items' Y, X, and Z coordinates. The returned list contains all items of fullBlocks, otherBlocks, and blocksWithNbt in this order.
      Mappings:
      Namespace Name Mixin selector
      official a Ldnw;a(Ljava/util/List;Ljava/util/List;Ljava/util/List;)Ljava/util/List;
      intermediary method_28055 Lnet/minecraft/class_3499;method_28055(Ljava/util/List;Ljava/util/List;Ljava/util/List;)Ljava/util/List;
      named combineSorted Lnet/minecraft/structure/StructureTemplate;combineSorted(Ljava/util/List;Ljava/util/List;Ljava/util/List;)Ljava/util/List;
    • addEntitiesFromWorld

      private void addEntitiesFromWorld(World world, BlockPos firstCorner, BlockPos secondCorner)
      Mappings:
      Namespace Name Mixin selector
      official a Ldnw;a(Lcga;Lgt;Lgt;)V
      intermediary method_15164 Lnet/minecraft/class_3499;method_15164(Lnet/minecraft/class_1937;Lnet/minecraft/class_2338;Lnet/minecraft/class_2338;)V
      named addEntitiesFromWorld Lnet/minecraft/structure/StructureTemplate;addEntitiesFromWorld(Lnet/minecraft/world/World;Lnet/minecraft/util/math/BlockPos;Lnet/minecraft/util/math/BlockPos;)V
    • getInfosForBlock

      public List<StructureTemplate.StructureBlockInfo> getInfosForBlock(BlockPos pos, StructurePlacementData placementData, Block block)
      Mappings:
      Namespace Name Mixin selector
      official a Ldnw;a(Lgt;Ldns;Lciw;)Ljava/util/List;
      intermediary method_16445 Lnet/minecraft/class_3499;method_16445(Lnet/minecraft/class_2338;Lnet/minecraft/class_3492;Lnet/minecraft/class_2248;)Ljava/util/List;
      named getInfosForBlock Lnet/minecraft/structure/StructureTemplate;getInfosForBlock(Lnet/minecraft/util/math/BlockPos;Lnet/minecraft/structure/StructurePlacementData;Lnet/minecraft/block/Block;)Ljava/util/List;
    • getInfosForBlock

      public ObjectArrayList<StructureTemplate.StructureBlockInfo> getInfosForBlock(BlockPos pos, StructurePlacementData placementData, Block block, boolean transformed)
      Mappings:
      Namespace Name Mixin selector
      official a Ldnw;a(Lgt;Ldns;Lciw;Z)Lit/unimi/dsi/fastutil/objects/ObjectArrayList;
      intermediary method_15165 Lnet/minecraft/class_3499;method_15165(Lnet/minecraft/class_2338;Lnet/minecraft/class_3492;Lnet/minecraft/class_2248;Z)Lit/unimi/dsi/fastutil/objects/ObjectArrayList;
      named getInfosForBlock Lnet/minecraft/structure/StructureTemplate;getInfosForBlock(Lnet/minecraft/util/math/BlockPos;Lnet/minecraft/structure/StructurePlacementData;Lnet/minecraft/block/Block;Z)Lit/unimi/dsi/fastutil/objects/ObjectArrayList;
    • transformBox

      public BlockPos transformBox(StructurePlacementData placementData1, BlockPos pos1, StructurePlacementData placementData2, BlockPos pos2)
      Mappings:
      Namespace Name Mixin selector
      official a Ldnw;a(Ldns;Lgt;Ldns;Lgt;)Lgt;
      intermediary method_15180 Lnet/minecraft/class_3499;method_15180(Lnet/minecraft/class_3492;Lnet/minecraft/class_2338;Lnet/minecraft/class_3492;Lnet/minecraft/class_2338;)Lnet/minecraft/class_2338;
      named transformBox Lnet/minecraft/structure/StructureTemplate;transformBox(Lnet/minecraft/structure/StructurePlacementData;Lnet/minecraft/util/math/BlockPos;Lnet/minecraft/structure/StructurePlacementData;Lnet/minecraft/util/math/BlockPos;)Lnet/minecraft/util/math/BlockPos;
    • transform

      public static BlockPos transform(StructurePlacementData placementData, BlockPos pos)
      Mappings:
      Namespace Name Mixin selector
      official a Ldnw;a(Ldns;Lgt;)Lgt;
      intermediary method_15171 Lnet/minecraft/class_3499;method_15171(Lnet/minecraft/class_3492;Lnet/minecraft/class_2338;)Lnet/minecraft/class_2338;
      named transform Lnet/minecraft/structure/StructureTemplate;transform(Lnet/minecraft/structure/StructurePlacementData;Lnet/minecraft/util/math/BlockPos;)Lnet/minecraft/util/math/BlockPos;
    • place

      public boolean place(ServerWorldAccess world, BlockPos pos, BlockPos pivot, StructurePlacementData placementData, Random random, int flags)
      Mappings:
      Namespace Name Mixin selector
      official a Ldnw;a(Lcgp;Lgt;Lgt;Ldns;Lalu;I)Z
      intermediary method_15172 Lnet/minecraft/class_3499;method_15172(Lnet/minecraft/class_5425;Lnet/minecraft/class_2338;Lnet/minecraft/class_2338;Lnet/minecraft/class_3492;Lnet/minecraft/class_5819;I)Z
      named place Lnet/minecraft/structure/StructureTemplate;place(Lnet/minecraft/world/ServerWorldAccess;Lnet/minecraft/util/math/BlockPos;Lnet/minecraft/util/math/BlockPos;Lnet/minecraft/structure/StructurePlacementData;Lnet/minecraft/util/math/random/Random;I)Z
    • updateCorner

      public static void updateCorner(WorldAccess world, int flags, VoxelSet set, int startX, int startY, int startZ)
      Mappings:
      Namespace Name Mixin selector
      official a Ldnw;a(Lcgb;ILdwc;III)V
      intermediary method_20532 Lnet/minecraft/class_3499;method_20532(Lnet/minecraft/class_1936;ILnet/minecraft/class_251;III)V
      named updateCorner Lnet/minecraft/structure/StructureTemplate;updateCorner(Lnet/minecraft/world/WorldAccess;ILnet/minecraft/util/shape/VoxelSet;III)V
    • process

      Mappings:
      Namespace Name Mixin selector
      official a Ldnw;a(Lcgb;Lgt;Lgt;Ldns;Ljava/util/List;)Ljava/util/List;
      intermediary method_16446 Lnet/minecraft/class_3499;method_16446(Lnet/minecraft/class_1936;Lnet/minecraft/class_2338;Lnet/minecraft/class_2338;Lnet/minecraft/class_3492;Ljava/util/List;)Ljava/util/List;
      named process Lnet/minecraft/structure/StructureTemplate;process(Lnet/minecraft/world/WorldAccess;Lnet/minecraft/util/math/BlockPos;Lnet/minecraft/util/math/BlockPos;Lnet/minecraft/structure/StructurePlacementData;Ljava/util/List;)Ljava/util/List;
    • spawnEntities

      private void spawnEntities(ServerWorldAccess world, BlockPos pos, BlockMirror mirror, BlockRotation rotation, BlockPos pivot, @Nullable @Nullable BlockBox area, boolean initializeMobs)
      Mappings:
      Namespace Name Mixin selector
      official a Ldnw;a(Lcgp;Lgt;Lcnk;Lcoz;Lgt;Ldjw;Z)V
      intermediary method_15179 Lnet/minecraft/class_3499;method_15179(Lnet/minecraft/class_5425;Lnet/minecraft/class_2338;Lnet/minecraft/class_2415;Lnet/minecraft/class_2470;Lnet/minecraft/class_2338;Lnet/minecraft/class_3341;Z)V
      named spawnEntities Lnet/minecraft/structure/StructureTemplate;spawnEntities(Lnet/minecraft/world/ServerWorldAccess;Lnet/minecraft/util/math/BlockPos;Lnet/minecraft/util/BlockMirror;Lnet/minecraft/util/BlockRotation;Lnet/minecraft/util/math/BlockPos;Lnet/minecraft/util/math/BlockBox;Z)V
    • getEntity

      private static Optional<Entity> getEntity(ServerWorldAccess world, NbtCompound nbt)
      Mappings:
      Namespace Name Mixin selector
      official a Ldnw;a(Lcgp;Lpj;)Ljava/util/Optional;
      intermediary method_17916 Lnet/minecraft/class_3499;method_17916(Lnet/minecraft/class_5425;Lnet/minecraft/class_2487;)Ljava/util/Optional;
      named getEntity Lnet/minecraft/structure/StructureTemplate;getEntity(Lnet/minecraft/world/ServerWorldAccess;Lnet/minecraft/nbt/NbtCompound;)Ljava/util/Optional;
    • getRotatedSize

      public Vec3i getRotatedSize(BlockRotation rotation)
      Mappings:
      Namespace Name Mixin selector
      official a Ldnw;a(Lcoz;)Lhs;
      intermediary method_15166 Lnet/minecraft/class_3499;method_15166(Lnet/minecraft/class_2470;)Lnet/minecraft/class_2382;
      named getRotatedSize Lnet/minecraft/structure/StructureTemplate;getRotatedSize(Lnet/minecraft/util/BlockRotation;)Lnet/minecraft/util/math/Vec3i;
    • transformAround

      public static BlockPos transformAround(BlockPos pos, BlockMirror mirror, BlockRotation rotation, BlockPos pivot)
      Mappings:
      Namespace Name Mixin selector
      official a Ldnw;a(Lgt;Lcnk;Lcoz;Lgt;)Lgt;
      intermediary method_15168 Lnet/minecraft/class_3499;method_15168(Lnet/minecraft/class_2338;Lnet/minecraft/class_2415;Lnet/minecraft/class_2470;Lnet/minecraft/class_2338;)Lnet/minecraft/class_2338;
      named transformAround Lnet/minecraft/structure/StructureTemplate;transformAround(Lnet/minecraft/util/math/BlockPos;Lnet/minecraft/util/BlockMirror;Lnet/minecraft/util/BlockRotation;Lnet/minecraft/util/math/BlockPos;)Lnet/minecraft/util/math/BlockPos;
    • transformAround

      public static Vec3d transformAround(Vec3d point, BlockMirror mirror, BlockRotation rotation, BlockPos pivot)
      Mappings:
      Namespace Name Mixin selector
      official a Ldnw;a(Ldvt;Lcnk;Lcoz;Lgt;)Ldvt;
      intermediary method_15176 Lnet/minecraft/class_3499;method_15176(Lnet/minecraft/class_243;Lnet/minecraft/class_2415;Lnet/minecraft/class_2470;Lnet/minecraft/class_2338;)Lnet/minecraft/class_243;
      named transformAround Lnet/minecraft/structure/StructureTemplate;transformAround(Lnet/minecraft/util/math/Vec3d;Lnet/minecraft/util/BlockMirror;Lnet/minecraft/util/BlockRotation;Lnet/minecraft/util/math/BlockPos;)Lnet/minecraft/util/math/Vec3d;
    • offsetByTransformedSize

      public BlockPos offsetByTransformedSize(BlockPos pos, BlockMirror mirror, BlockRotation rotation)
      Mappings:
      Namespace Name Mixin selector
      official a Ldnw;a(Lgt;Lcnk;Lcoz;)Lgt;
      intermediary method_15167 Lnet/minecraft/class_3499;method_15167(Lnet/minecraft/class_2338;Lnet/minecraft/class_2415;Lnet/minecraft/class_2470;)Lnet/minecraft/class_2338;
      named offsetByTransformedSize Lnet/minecraft/structure/StructureTemplate;offsetByTransformedSize(Lnet/minecraft/util/math/BlockPos;Lnet/minecraft/util/BlockMirror;Lnet/minecraft/util/BlockRotation;)Lnet/minecraft/util/math/BlockPos;
    • applyTransformedOffset

      public static BlockPos applyTransformedOffset(BlockPos pos, BlockMirror mirror, BlockRotation rotation, int offsetX, int offsetZ)
      Mappings:
      Namespace Name Mixin selector
      official a Ldnw;a(Lgt;Lcnk;Lcoz;II)Lgt;
      intermediary method_15162 Lnet/minecraft/class_3499;method_15162(Lnet/minecraft/class_2338;Lnet/minecraft/class_2415;Lnet/minecraft/class_2470;II)Lnet/minecraft/class_2338;
      named applyTransformedOffset Lnet/minecraft/structure/StructureTemplate;applyTransformedOffset(Lnet/minecraft/util/math/BlockPos;Lnet/minecraft/util/BlockMirror;Lnet/minecraft/util/BlockRotation;II)Lnet/minecraft/util/math/BlockPos;
    • calculateBoundingBox

      public BlockBox calculateBoundingBox(StructurePlacementData placementData, BlockPos pos)
      Mappings:
      Namespace Name Mixin selector
      official b Ldnw;b(Ldns;Lgt;)Ldjw;
      intermediary method_16187 Lnet/minecraft/class_3499;method_16187(Lnet/minecraft/class_3492;Lnet/minecraft/class_2338;)Lnet/minecraft/class_3341;
      named calculateBoundingBox Lnet/minecraft/structure/StructureTemplate;calculateBoundingBox(Lnet/minecraft/structure/StructurePlacementData;Lnet/minecraft/util/math/BlockPos;)Lnet/minecraft/util/math/BlockBox;
    • calculateBoundingBox

      public BlockBox calculateBoundingBox(BlockPos pos, BlockRotation rotation, BlockPos pivot, BlockMirror mirror)
      Mappings:
      Namespace Name Mixin selector
      official a Ldnw;a(Lgt;Lcoz;Lgt;Lcnk;)Ldjw;
      intermediary method_27267 Lnet/minecraft/class_3499;method_27267(Lnet/minecraft/class_2338;Lnet/minecraft/class_2470;Lnet/minecraft/class_2338;Lnet/minecraft/class_2415;)Lnet/minecraft/class_3341;
      named calculateBoundingBox Lnet/minecraft/structure/StructureTemplate;calculateBoundingBox(Lnet/minecraft/util/math/BlockPos;Lnet/minecraft/util/BlockRotation;Lnet/minecraft/util/math/BlockPos;Lnet/minecraft/util/BlockMirror;)Lnet/minecraft/util/math/BlockBox;
    • createBox

      protected static BlockBox createBox(BlockPos pos, BlockRotation rotation, BlockPos pivot, BlockMirror mirror, Vec3i dimensions)
      Mappings:
      Namespace Name Mixin selector
      official a Ldnw;a(Lgt;Lcoz;Lgt;Lcnk;Lhs;)Ldjw;
      intermediary method_34400 Lnet/minecraft/class_3499;method_34400(Lnet/minecraft/class_2338;Lnet/minecraft/class_2470;Lnet/minecraft/class_2338;Lnet/minecraft/class_2415;Lnet/minecraft/class_2382;)Lnet/minecraft/class_3341;
      named createBox Lnet/minecraft/structure/StructureTemplate;createBox(Lnet/minecraft/util/math/BlockPos;Lnet/minecraft/util/BlockRotation;Lnet/minecraft/util/math/BlockPos;Lnet/minecraft/util/BlockMirror;Lnet/minecraft/util/math/Vec3i;)Lnet/minecraft/util/math/BlockBox;
    • writeNbt

      public NbtCompound writeNbt(NbtCompound nbt)
      Mappings:
      Namespace Name Mixin selector
      official a Ldnw;a(Lpj;)Lpj;
      intermediary method_15175 Lnet/minecraft/class_3499;method_15175(Lnet/minecraft/class_2487;)Lnet/minecraft/class_2487;
      named writeNbt Lnet/minecraft/structure/StructureTemplate;writeNbt(Lnet/minecraft/nbt/NbtCompound;)Lnet/minecraft/nbt/NbtCompound;
    • readNbt

      public void readNbt(NbtCompound nbt)
      Mappings:
      Namespace Name Mixin selector
      official b Ldnw;b(Lpj;)V
      intermediary method_15183 Lnet/minecraft/class_3499;method_15183(Lnet/minecraft/class_2487;)V
      named readNbt Lnet/minecraft/structure/StructureTemplate;readNbt(Lnet/minecraft/nbt/NbtCompound;)V
    • loadPalettedBlockInfo

      private void loadPalettedBlockInfo(NbtList paletteNbt, NbtList blocksNbt)
      Mappings:
      Namespace Name Mixin selector
      official a Ldnw;a(Lpp;Lpp;)V
      intermediary method_15177 Lnet/minecraft/class_3499;method_15177(Lnet/minecraft/class_2499;Lnet/minecraft/class_2499;)V
      named loadPalettedBlockInfo Lnet/minecraft/structure/StructureTemplate;loadPalettedBlockInfo(Lnet/minecraft/nbt/NbtList;Lnet/minecraft/nbt/NbtList;)V
    • createNbtIntList

      private NbtList createNbtIntList(int[] ints)
      Mappings:
      Namespace Name Mixin selector
      official a Ldnw;a([I)Lpp;
      intermediary method_15169 Lnet/minecraft/class_3499;method_15169([I)Lnet/minecraft/class_2499;
      named createNbtIntList Lnet/minecraft/structure/StructureTemplate;createNbtIntList([I)Lnet/minecraft/nbt/NbtList;
    • createNbtDoubleList

      private NbtList createNbtDoubleList(double[] doubles)
      Mappings:
      Namespace Name Mixin selector
      official a Ldnw;a([D)Lpp;
      intermediary method_15184 Lnet/minecraft/class_3499;method_15184([D)Lnet/minecraft/class_2499;
      named createNbtDoubleList Lnet/minecraft/structure/StructureTemplate;createNbtDoubleList([D)Lnet/minecraft/nbt/NbtList;