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 ent
-
Nested Class Summary
Modifier and TypeClassDescriptionprivate 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) 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) 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
Lent;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
Lent;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
Lent;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
Lent;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
Lent;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
Lent;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
Lent;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
Lent;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
Lent;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
Lent;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
Lent;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
Lent;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
Lent;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
Lent;n:Lkh;
-
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
Lent;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
Lent;a()Lkh;
-
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
Lent;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
Lent;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
Lent;a(Ldcw;Ljd;Lkh;ZLdfy;)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
Lent;a(Lent$c;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
Lent;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
Lent;a(Ldcw;Ljd;Ljd;)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
Lent;a(Ljd;Lenp;Ldfy;)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
Lent;a(Ljd;Lenp;Ldfy;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
Lent;a(Lenp;Ljd;Lenp;Ljd;)Ljd;
-
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
Lent;a(Lenp;Ljd;)Ljd;
-
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
Lent;a(Lddl;Ljd;Ljd;Lenp;Layw;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
Lent;a(Ldcx;ILexl;Ljd;)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
Lent;a(Ldcx;ILexl;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
Lent;a(Lddl;Ljd;Ljd;Lenp;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
Lent;a(Lddl;Ljd;Ldkv;Ldmm;Ljd;Lejj;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
Lent;a(Lddl;Lub;)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
Lent;a(Ldmm;)Lkh;
-
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
Lent;a(Ljd;Ldkv;Ldmm;Ljd;)Ljd;
-
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
Lent;a(Lexc;Ldkv;Ldmm;Ljd;)Lexc;
-
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
Lent;a(Ljd;Ldkv;Ldmm;)Ljd;
-
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
Lent;a(Ljd;Ldkv;Ldmm;II)Ljd;
-
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
Lent;b(Lenp;Ljd;)Lejj;
-
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
Lent;a(Ljd;Ldmm;Ljd;Ldkv;)Lejj;
-
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
Lent;a(Ljd;Ldmm;Ljd;Ldkv;Lkh;)Lejj;
-
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
Lent;a(Lub;)Lub;
-
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
Lent;a(Ljn;Lub;)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
Lent;a(Ljn;Luh;Luh;)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
Lent;a([I)Luh;
-
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
Lent;a([D)Luh;
-