Package net.minecraft.structure
Class StructureTemplate
java.lang.Object
net.minecraft.structure.StructureTemplate
- Mappings:
Namespace Name named net/minecraft/structure/StructureTemplate
intermediary net/minecraft/class_3499
official esl
-
Nested Class Summary
Modifier and TypeClassDescriptionstatic final record
private static class
static final class
static final record
static class
-
Field Summary
Modifier and TypeFieldDescriptionprivate String
private final List
<StructureTemplate.PalettedBlockInfoList> static final String
static final String
static final String
static final String
private final List
<StructureTemplate.StructureEntityInfo> static final String
static final String
static final String
static final String
static final String
static final String
private Vec3i
static final String
-
Constructor Summary
-
Method Summary
Modifier and TypeMethodDescriptionprivate void
addEntitiesFromWorld
(World world, BlockPos firstCorner, BlockPos secondCorner) static BlockPos
applyTransformedOffset
(BlockPos pos, BlockMirror mirror, BlockRotation rotation, int offsetX, int offsetZ) calculateBoundingBox
(StructurePlacementData placementData, BlockPos pos) calculateBoundingBox
(BlockPos pos, BlockRotation rotation, BlockPos pivot, BlockMirror mirror) private static void
categorize
(StructureTemplate.StructureBlockInfo blockInfo, List<StructureTemplate.StructureBlockInfo> fullBlocks, List<StructureTemplate.StructureBlockInfo> blocksWithNbt, List<StructureTemplate.StructureBlockInfo> otherBlocks) CategorizesblockInfo
based on its properties, modifying the passed lists in-place.private static List
<StructureTemplate.StructureBlockInfo> combineSorted
(List<StructureTemplate.StructureBlockInfo> fullBlocks, List<StructureTemplate.StructureBlockInfo> blocksWithNbt, List<StructureTemplate.StructureBlockInfo> otherBlocks) Returns the list that sorts and combines the passed block lists.protected static BlockBox
createBox
(BlockPos pos, BlockRotation rotation, BlockPos pivot, BlockMirror mirror, Vec3i dimensions) private NbtList
createNbtDoubleList
(double[] doubles) private NbtList
createNbtIntList
(int[] ints) getEntity
(ServerWorldAccess world, NbtCompound nbt) getInfosForBlock
(BlockPos pos, StructurePlacementData placementData, Block block) getInfosForBlock
(BlockPos pos, StructurePlacementData placementData, Block block, boolean transformed) getJigsawInfos
(BlockPos pos, BlockRotation rotation) getRotatedSize
(BlockRotation rotation) getSize()
private void
loadPalettedBlockInfo
(RegistryEntryLookup<Block> blockLookup, NbtList palette, NbtList blocks) offsetByTransformedSize
(BlockPos pos, BlockMirror mirror, BlockRotation rotation) boolean
place
(ServerWorldAccess world, BlockPos pos, BlockPos pivot, StructurePlacementData placementData, Random random, int flags) process
(ServerWorldAccess world, BlockPos pos, BlockPos pivot, StructurePlacementData placementData, List<StructureTemplate.StructureBlockInfo> infos) static JigsawBlockEntity.Joint
readJoint
(NbtCompound nbt, BlockState state) void
readNbt
(RegistryEntryLookup<Block> blockLookup, NbtCompound nbt) void
saveFromWorld
(World world, BlockPos start, Vec3i dimensions, boolean includeEntities, @Nullable Block ignoredBlock) void
private void
spawnEntities
(ServerWorldAccess world, BlockPos pos, BlockMirror mirror, BlockRotation rotation, BlockPos pivot, @Nullable BlockBox area, boolean initializeMobs) static BlockPos
transform
(StructurePlacementData placementData, BlockPos pos) static BlockPos
transformAround
(BlockPos pos, BlockMirror mirror, BlockRotation rotation, BlockPos pivot) static Vec3d
transformAround
(Vec3d point, BlockMirror mirror, BlockRotation rotation, BlockPos pivot) transformBox
(StructurePlacementData placementData1, BlockPos pos1, StructurePlacementData placementData2, BlockPos pos2) static void
updateCorner
(WorldAccess world, int flags, VoxelSet set, int startX, int startY, int startZ) static void
updateCorner
(WorldAccess world, int flags, VoxelSet set, BlockPos startPos) writeNbt
(NbtCompound nbt)
-
Field Details
-
PALETTE_KEY
- See Also:
- Mappings:
Namespace Name Mixin selector named PALETTE_KEY
Lnet/minecraft/structure/StructureTemplate;PALETTE_KEY:Ljava/lang/String;
intermediary field_31687
Lnet/minecraft/class_3499;field_31687:Ljava/lang/String;
official a
Lesl;a:Ljava/lang/String;
-
PALETTES_KEY
- See Also:
- Mappings:
Namespace Name Mixin selector named PALETTES_KEY
Lnet/minecraft/structure/StructureTemplate;PALETTES_KEY:Ljava/lang/String;
intermediary field_31688
Lnet/minecraft/class_3499;field_31688:Ljava/lang/String;
official b
Lesl;b:Ljava/lang/String;
-
ENTITIES_KEY
- See Also:
- Mappings:
Namespace Name Mixin selector named ENTITIES_KEY
Lnet/minecraft/structure/StructureTemplate;ENTITIES_KEY:Ljava/lang/String;
intermediary field_31689
Lnet/minecraft/class_3499;field_31689:Ljava/lang/String;
official c
Lesl;c:Ljava/lang/String;
-
BLOCKS_KEY
- See Also:
- Mappings:
Namespace Name Mixin selector named BLOCKS_KEY
Lnet/minecraft/structure/StructureTemplate;BLOCKS_KEY:Ljava/lang/String;
intermediary field_31690
Lnet/minecraft/class_3499;field_31690:Ljava/lang/String;
official d
Lesl;d:Ljava/lang/String;
-
BLOCKS_POS_KEY
- See Also:
- Mappings:
Namespace Name Mixin selector named BLOCKS_POS_KEY
Lnet/minecraft/structure/StructureTemplate;BLOCKS_POS_KEY:Ljava/lang/String;
intermediary field_31691
Lnet/minecraft/class_3499;field_31691:Ljava/lang/String;
official e
Lesl;e:Ljava/lang/String;
-
BLOCKS_STATE_KEY
- See Also:
- Mappings:
Namespace Name Mixin selector named BLOCKS_STATE_KEY
Lnet/minecraft/structure/StructureTemplate;BLOCKS_STATE_KEY:Ljava/lang/String;
intermediary field_31692
Lnet/minecraft/class_3499;field_31692:Ljava/lang/String;
official f
Lesl;f:Ljava/lang/String;
-
BLOCKS_NBT_KEY
- See Also:
- Mappings:
Namespace Name Mixin selector named BLOCKS_NBT_KEY
Lnet/minecraft/structure/StructureTemplate;BLOCKS_NBT_KEY:Ljava/lang/String;
intermediary field_31693
Lnet/minecraft/class_3499;field_31693:Ljava/lang/String;
official g
Lesl;g:Ljava/lang/String;
-
ENTITIES_POS_KEY
- See Also:
- Mappings:
Namespace Name Mixin selector named ENTITIES_POS_KEY
Lnet/minecraft/structure/StructureTemplate;ENTITIES_POS_KEY:Ljava/lang/String;
intermediary field_31694
Lnet/minecraft/class_3499;field_31694:Ljava/lang/String;
official h
Lesl;h:Ljava/lang/String;
-
ENTITIES_BLOCK_POS_KEY
- See Also:
- Mappings:
Namespace Name Mixin selector named ENTITIES_BLOCK_POS_KEY
Lnet/minecraft/structure/StructureTemplate;ENTITIES_BLOCK_POS_KEY:Ljava/lang/String;
intermediary field_31695
Lnet/minecraft/class_3499;field_31695:Ljava/lang/String;
official i
Lesl;i:Ljava/lang/String;
-
ENTITIES_NBT_KEY
- See Also:
- Mappings:
Namespace Name Mixin selector named ENTITIES_NBT_KEY
Lnet/minecraft/structure/StructureTemplate;ENTITIES_NBT_KEY:Ljava/lang/String;
intermediary field_31696
Lnet/minecraft/class_3499;field_31696:Ljava/lang/String;
official j
Lesl;j:Ljava/lang/String;
-
SIZE_KEY
- See Also:
- Mappings:
Namespace Name Mixin selector named SIZE_KEY
Lnet/minecraft/structure/StructureTemplate;SIZE_KEY:Ljava/lang/String;
intermediary field_31697
Lnet/minecraft/class_3499;field_31697:Ljava/lang/String;
official k
Lesl;k:Ljava/lang/String;
-
blockInfoLists
- Mappings:
Namespace Name Mixin selector named blockInfoLists
Lnet/minecraft/structure/StructureTemplate;blockInfoLists:Ljava/util/List;
intermediary field_15586
Lnet/minecraft/class_3499;field_15586:Ljava/util/List;
official l
Lesl;l:Ljava/util/List;
-
entities
- Mappings:
Namespace Name Mixin selector named entities
Lnet/minecraft/structure/StructureTemplate;entities:Ljava/util/List;
intermediary field_15589
Lnet/minecraft/class_3499;field_15589:Ljava/util/List;
official m
Lesl;m:Ljava/util/List;
-
size
- Mappings:
Namespace Name Mixin selector named size
Lnet/minecraft/structure/StructureTemplate;size:Lnet/minecraft/util/math/Vec3i;
intermediary field_15587
Lnet/minecraft/class_3499;field_15587:Lnet/minecraft/class_2382;
official n
Lesl;n:Lkl;
-
author
- Mappings:
Namespace Name Mixin selector named author
Lnet/minecraft/structure/StructureTemplate;author:Ljava/lang/String;
intermediary field_15588
Lnet/minecraft/class_3499;field_15588:Ljava/lang/String;
official o
Lesl;o:Ljava/lang/String;
-
-
Constructor Details
-
StructureTemplate
public StructureTemplate()
-
-
Method Details
-
getSize
- Mappings:
Namespace Name Mixin selector named getSize
Lnet/minecraft/structure/StructureTemplate;getSize()Lnet/minecraft/util/math/Vec3i;
intermediary method_15160
Lnet/minecraft/class_3499;method_15160()Lnet/minecraft/class_2382;
official a
Lesl;a()Lkl;
-
setAuthor
- Mappings:
Namespace Name Mixin selector named setAuthor
Lnet/minecraft/structure/StructureTemplate;setAuthor(Ljava/lang/String;)V
intermediary method_15161
Lnet/minecraft/class_3499;method_15161(Ljava/lang/String;)V
official a
Lesl;a(Ljava/lang/String;)V
-
getAuthor
- Mappings:
Namespace Name Mixin selector named getAuthor
Lnet/minecraft/structure/StructureTemplate;getAuthor()Ljava/lang/String;
intermediary method_15181
Lnet/minecraft/class_3499;method_15181()Ljava/lang/String;
official b
Lesl;b()Ljava/lang/String;
-
saveFromWorld
public void saveFromWorld(World world, BlockPos start, Vec3i dimensions, boolean includeEntities, @Nullable @Nullable Block ignoredBlock) - Mappings:
Namespace Name Mixin selector 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
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
official a
Lesl;a(Ldhh;Ljh;Lkl;ZLdkl;)V
-
categorize
private static void categorize(StructureTemplate.StructureBlockInfo blockInfo, List<StructureTemplate.StructureBlockInfo> fullBlocks, List<StructureTemplate.StructureBlockInfo> blocksWithNbt, List<StructureTemplate.StructureBlockInfo> otherBlocks) CategorizesblockInfo
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 infullBlocks
. Otherwise, it will be put inotherBlocks
.- 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 named categorize
Lnet/minecraft/structure/StructureTemplate;categorize(Lnet/minecraft/structure/StructureTemplate$StructureBlockInfo;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
official a
Lesl;a(Lesl$d;Ljava/util/List;Ljava/util/List;Ljava/util/List;)V
-
combineSorted
private static List<StructureTemplate.StructureBlockInfo> combineSorted(List<StructureTemplate.StructureBlockInfo> fullBlocks, List<StructureTemplate.StructureBlockInfo> blocksWithNbt, List<StructureTemplate.StructureBlockInfo> otherBlocks) 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 toStructureTemplate.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
, andblocksWithNbt
in this order. - Mappings:
Namespace Name Mixin selector named combineSorted
Lnet/minecraft/structure/StructureTemplate;combineSorted(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;
official a
Lesl;a(Ljava/util/List;Ljava/util/List;Ljava/util/List;)Ljava/util/List;
-
addEntitiesFromWorld
- Mappings:
Namespace Name Mixin selector named addEntitiesFromWorld
Lnet/minecraft/structure/StructureTemplate;addEntitiesFromWorld(Lnet/minecraft/world/World;Lnet/minecraft/util/math/BlockPos;Lnet/minecraft/util/math/BlockPos;)V
intermediary method_15164
Lnet/minecraft/class_3499;method_15164(Lnet/minecraft/class_1937;Lnet/minecraft/class_2338;Lnet/minecraft/class_2338;)V
official a
Lesl;a(Ldhh;Ljh;Ljh;)V
-
getInfosForBlock
public List<StructureTemplate.StructureBlockInfo> getInfosForBlock(BlockPos pos, StructurePlacementData placementData, Block block) - Mappings:
Namespace Name Mixin selector named getInfosForBlock
Lnet/minecraft/structure/StructureTemplate;getInfosForBlock(Lnet/minecraft/util/math/BlockPos;Lnet/minecraft/structure/StructurePlacementData;Lnet/minecraft/block/Block;)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;
official a
Lesl;a(Ljh;Lesh;Ldkl;)Ljava/util/List;
-
getJigsawInfos
- Mappings:
Namespace Name Mixin selector named getJigsawInfos
Lnet/minecraft/structure/StructureTemplate;getJigsawInfos(Lnet/minecraft/util/math/BlockPos;Lnet/minecraft/util/BlockRotation;)Ljava/util/List;
intermediary method_64822
Lnet/minecraft/class_3499;method_64822(Lnet/minecraft/class_2338;Lnet/minecraft/class_2470;)Ljava/util/List;
official a
Lesl;a(Ljh;Ldrb;)Ljava/util/List;
-
getInfosForBlock
public ObjectArrayList<StructureTemplate.StructureBlockInfo> getInfosForBlock(BlockPos pos, StructurePlacementData placementData, Block block, boolean transformed) - Mappings:
Namespace Name Mixin selector 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;
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;
official a
Lesl;a(Ljh;Lesh;Ldkl;Z)Lit/unimi/dsi/fastutil/objects/ObjectArrayList;
-
transformBox
public BlockPos transformBox(StructurePlacementData placementData1, BlockPos pos1, StructurePlacementData placementData2, BlockPos pos2) - Mappings:
Namespace Name Mixin selector 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;
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;
official a
Lesl;a(Lesh;Ljh;Lesh;Ljh;)Ljh;
-
transform
- Mappings:
Namespace Name Mixin selector named transform
Lnet/minecraft/structure/StructureTemplate;transform(Lnet/minecraft/structure/StructurePlacementData;Lnet/minecraft/util/math/BlockPos;)Lnet/minecraft/util/math/BlockPos;
intermediary method_15171
Lnet/minecraft/class_3499;method_15171(Lnet/minecraft/class_3492;Lnet/minecraft/class_2338;)Lnet/minecraft/class_2338;
official a
Lesl;a(Lesh;Ljh;)Ljh;
-
place
public boolean place(ServerWorldAccess world, BlockPos pos, BlockPos pivot, StructurePlacementData placementData, Random random, int flags) - Mappings:
Namespace Name Mixin selector 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
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
official a
Lesl;a(Ldhy;Ljh;Ljh;Lesh;Lbam;I)Z
-
updateCorner
- Mappings:
Namespace Name Mixin selector named updateCorner
Lnet/minecraft/structure/StructureTemplate;updateCorner(Lnet/minecraft/world/WorldAccess;ILnet/minecraft/util/shape/VoxelSet;Lnet/minecraft/util/math/BlockPos;)V
intermediary method_58190
Lnet/minecraft/class_3499;method_58190(Lnet/minecraft/class_1936;ILnet/minecraft/class_251;Lnet/minecraft/class_2338;)V
official a
Lesl;a(Ldhi;ILfcg;Ljh;)V
-
updateCorner
public static void updateCorner(WorldAccess world, int flags, VoxelSet set, int startX, int startY, int startZ) - Mappings:
Namespace Name Mixin selector named updateCorner
Lnet/minecraft/structure/StructureTemplate;updateCorner(Lnet/minecraft/world/WorldAccess;ILnet/minecraft/util/shape/VoxelSet;III)V
intermediary method_20532
Lnet/minecraft/class_3499;method_20532(Lnet/minecraft/class_1936;ILnet/minecraft/class_251;III)V
official a
Lesl;a(Ldhi;ILfcg;III)V
-
process
public static List<StructureTemplate.StructureBlockInfo> process(ServerWorldAccess world, BlockPos pos, BlockPos pivot, StructurePlacementData placementData, List<StructureTemplate.StructureBlockInfo> infos) - Mappings:
Namespace Name Mixin selector named process
Lnet/minecraft/structure/StructureTemplate;process(Lnet/minecraft/world/ServerWorldAccess;Lnet/minecraft/util/math/BlockPos;Lnet/minecraft/util/math/BlockPos;Lnet/minecraft/structure/StructurePlacementData;Ljava/util/List;)Ljava/util/List;
intermediary method_16446
Lnet/minecraft/class_3499;method_16446(Lnet/minecraft/class_5425;Lnet/minecraft/class_2338;Lnet/minecraft/class_2338;Lnet/minecraft/class_3492;Ljava/util/List;)Ljava/util/List;
official a
Lesl;a(Ldhy;Ljh;Ljh;Lesh;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 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
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
official a
Lesl;a(Ldhy;Ljh;Ldpk;Ldrb;Ljh;Leob;Z)V
-
getEntity
- Mappings:
Namespace Name Mixin selector named getEntity
Lnet/minecraft/structure/StructureTemplate;getEntity(Lnet/minecraft/world/ServerWorldAccess;Lnet/minecraft/nbt/NbtCompound;)Ljava/util/Optional;
intermediary method_17916
Lnet/minecraft/class_3499;method_17916(Lnet/minecraft/class_5425;Lnet/minecraft/class_2487;)Ljava/util/Optional;
official a
Lesl;a(Ldhy;Lux;)Ljava/util/Optional;
-
getRotatedSize
- Mappings:
Namespace Name Mixin selector named getRotatedSize
Lnet/minecraft/structure/StructureTemplate;getRotatedSize(Lnet/minecraft/util/BlockRotation;)Lnet/minecraft/util/math/Vec3i;
intermediary method_15166
Lnet/minecraft/class_3499;method_15166(Lnet/minecraft/class_2470;)Lnet/minecraft/class_2382;
official a
Lesl;a(Ldrb;)Lkl;
-
transformAround
public static BlockPos transformAround(BlockPos pos, BlockMirror mirror, BlockRotation rotation, BlockPos pivot) - Mappings:
Namespace Name Mixin selector 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;
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;
official a
Lesl;a(Ljh;Ldpk;Ldrb;Ljh;)Ljh;
-
transformAround
public static Vec3d transformAround(Vec3d point, BlockMirror mirror, BlockRotation rotation, BlockPos pivot) - Mappings:
Namespace Name Mixin selector 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;
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;
official a
Lesl;a(Lfbx;Ldpk;Ldrb;Ljh;)Lfbx;
-
offsetByTransformedSize
- Mappings:
Namespace Name Mixin selector 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;
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;
official a
Lesl;a(Ljh;Ldpk;Ldrb;)Ljh;
-
applyTransformedOffset
public static BlockPos applyTransformedOffset(BlockPos pos, BlockMirror mirror, BlockRotation rotation, int offsetX, int offsetZ) - Mappings:
Namespace Name Mixin selector 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;
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;
official a
Lesl;a(Ljh;Ldpk;Ldrb;II)Ljh;
-
calculateBoundingBox
- Mappings:
Namespace Name Mixin selector named calculateBoundingBox
Lnet/minecraft/structure/StructureTemplate;calculateBoundingBox(Lnet/minecraft/structure/StructurePlacementData;Lnet/minecraft/util/math/BlockPos;)Lnet/minecraft/util/math/BlockBox;
intermediary method_16187
Lnet/minecraft/class_3499;method_16187(Lnet/minecraft/class_3492;Lnet/minecraft/class_2338;)Lnet/minecraft/class_3341;
official b
Lesl;b(Lesh;Ljh;)Leob;
-
calculateBoundingBox
public BlockBox calculateBoundingBox(BlockPos pos, BlockRotation rotation, BlockPos pivot, BlockMirror mirror) - Mappings:
Namespace Name Mixin selector 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;
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;
official a
Lesl;a(Ljh;Ldrb;Ljh;Ldpk;)Leob;
-
createBox
protected static BlockBox createBox(BlockPos pos, BlockRotation rotation, BlockPos pivot, BlockMirror mirror, Vec3i dimensions) - Mappings:
Namespace Name Mixin selector 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;
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;
official a
Lesl;a(Ljh;Ldrb;Ljh;Ldpk;Lkl;)Leob;
-
writeNbt
- Mappings:
Namespace Name Mixin selector named writeNbt
Lnet/minecraft/structure/StructureTemplate;writeNbt(Lnet/minecraft/nbt/NbtCompound;)Lnet/minecraft/nbt/NbtCompound;
intermediary method_15175
Lnet/minecraft/class_3499;method_15175(Lnet/minecraft/class_2487;)Lnet/minecraft/class_2487;
official a
Lesl;a(Lux;)Lux;
-
readNbt
- Mappings:
Namespace Name Mixin selector named readNbt
Lnet/minecraft/structure/StructureTemplate;readNbt(Lnet/minecraft/registry/RegistryEntryLookup;Lnet/minecraft/nbt/NbtCompound;)V
intermediary method_15183
Lnet/minecraft/class_3499;method_15183(Lnet/minecraft/class_7871;Lnet/minecraft/class_2487;)V
official a
Lesl;a(Ljr;Lux;)V
-
loadPalettedBlockInfo
private void loadPalettedBlockInfo(RegistryEntryLookup<Block> blockLookup, NbtList palette, NbtList blocks) - Mappings:
Namespace Name Mixin selector named loadPalettedBlockInfo
Lnet/minecraft/structure/StructureTemplate;loadPalettedBlockInfo(Lnet/minecraft/registry/RegistryEntryLookup;Lnet/minecraft/nbt/NbtList;Lnet/minecraft/nbt/NbtList;)V
intermediary method_15177
Lnet/minecraft/class_3499;method_15177(Lnet/minecraft/class_7871;Lnet/minecraft/class_2499;Lnet/minecraft/class_2499;)V
official a
Lesl;a(Ljr;Lvd;Lvd;)V
-
createNbtIntList
- Mappings:
Namespace Name Mixin selector named createNbtIntList
Lnet/minecraft/structure/StructureTemplate;createNbtIntList([I)Lnet/minecraft/nbt/NbtList;
intermediary method_15169
Lnet/minecraft/class_3499;method_15169([I)Lnet/minecraft/class_2499;
official a
Lesl;a([I)Lvd;
-
createNbtDoubleList
- Mappings:
Namespace Name Mixin selector named createNbtDoubleList
Lnet/minecraft/structure/StructureTemplate;createNbtDoubleList([D)Lnet/minecraft/nbt/NbtList;
intermediary method_15184
Lnet/minecraft/class_3499;method_15184([D)Lnet/minecraft/class_2499;
official a
Lesl;a([D)Lvd;
-
readJoint
- Mappings:
Namespace Name Mixin selector named readJoint
Lnet/minecraft/structure/StructureTemplate;readJoint(Lnet/minecraft/nbt/NbtCompound;Lnet/minecraft/block/BlockState;)Lnet/minecraft/block/entity/JigsawBlockEntity$Joint;
intermediary method_64823
Lnet/minecraft/class_3499;method_64823(Lnet/minecraft/class_2487;Lnet/minecraft/class_2680;)Lnet/minecraft/class_3751$class_4991;
official a
Lesl;a(Lux;Ldxu;)Ldvz$a;
-