Package net.minecraft.structure
Class StructureTemplate
java.lang.Object
net.minecraft.structure.StructureTemplate
- Mappings:
Namespace Name official dsh
intermediary net/minecraft/class_3499
named net/minecraft/structure/StructureTemplate
-
Nested Class Summary
Modifier and TypeClassDescriptionprivate static class
static final class
static class
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
(package private) static final int
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
(WorldAccess 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) writeNbt
(NbtCompound nbt)
-
Field Details
-
PALETTE_KEY
- See Also:
- Mappings:
Namespace Name Mixin selector official a
Ldsh;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
- See Also:
- Mappings:
Namespace Name Mixin selector official b
Ldsh;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
- See Also:
- Mappings:
Namespace Name Mixin selector official c
Ldsh;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
- See Also:
- Mappings:
Namespace Name Mixin selector official d
Ldsh;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
- See Also:
- Mappings:
Namespace Name Mixin selector official e
Ldsh;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
- See Also:
- Mappings:
Namespace Name Mixin selector official f
Ldsh;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
- See Also:
- Mappings:
Namespace Name Mixin selector official g
Ldsh;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
- See Also:
- Mappings:
Namespace Name Mixin selector official h
Ldsh;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
- See Also:
- Mappings:
Namespace Name Mixin selector official i
Ldsh;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
- See Also:
- Mappings:
Namespace Name Mixin selector official j
Ldsh;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
- See Also:
- Mappings:
Namespace Name Mixin selector official k
Ldsh;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
Ldsh;l:I
intermediary field_31698
Lnet/minecraft/class_3499;field_31698:I
named field_31698
Lnet/minecraft/structure/StructureTemplate;field_31698:I
-
blockInfoLists
- Mappings:
Namespace Name Mixin selector official m
Ldsh;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
Ldsh;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
- Mappings:
Namespace Name Mixin selector official o
Ldsh;o:Lhu;
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
- Mappings:
Namespace Name Mixin selector official p
Ldsh;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
- Mappings:
Namespace Name Mixin selector official a
Ldsh;a()Lhu;
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
- Mappings:
Namespace Name Mixin selector official a
Ldsh;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
- Mappings:
Namespace Name Mixin selector official b
Ldsh;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
Ldsh;a(Lcjw;Lgp;Lhu;ZLcmt;)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
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 official a
Ldsh;a(Ldsh$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
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 official a
Ldsh;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
- Mappings:
Namespace Name Mixin selector official a
Ldsh;a(Lcjw;Lgp;Lgp;)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
Ldsh;a(Lgp;Ldsd;Lcmt;)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
Ldsh;a(Lgp;Ldsd;Lcmt;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
Ldsh;a(Ldsd;Lgp;Ldsd;Lgp;)Lgp;
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
- Mappings:
Namespace Name Mixin selector official a
Ldsh;a(Ldsd;Lgp;)Lgp;
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
Ldsh;a(Lckl;Lgp;Lgp;Ldsd;Laoh;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
Ldsh;a(Lcjx;ILean;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
public static List<StructureTemplate.StructureBlockInfo> process(WorldAccess world, BlockPos pos, BlockPos pivot, StructurePlacementData placementData, List<StructureTemplate.StructureBlockInfo> infos) - Mappings:
Namespace Name Mixin selector official a
Ldsh;a(Lcjx;Lgp;Lgp;Ldsd;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
Ldsh;a(Lckl;Lgp;Lcrk;Lcsz;Lgp;Ldoh;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
- Mappings:
Namespace Name Mixin selector official a
Ldsh;a(Lckl;Lqp;)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
- Mappings:
Namespace Name Mixin selector official a
Ldsh;a(Lcsz;)Lhu;
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
Ldsh;a(Lgp;Lcrk;Lcsz;Lgp;)Lgp;
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
Ldsh;a(Leae;Lcrk;Lcsz;Lgp;)Leae;
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
- Mappings:
Namespace Name Mixin selector official a
Ldsh;a(Lgp;Lcrk;Lcsz;)Lgp;
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
Ldsh;a(Lgp;Lcrk;Lcsz;II)Lgp;
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
- Mappings:
Namespace Name Mixin selector official b
Ldsh;b(Ldsd;Lgp;)Ldoh;
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
Ldsh;a(Lgp;Lcsz;Lgp;Lcrk;)Ldoh;
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
Ldsh;a(Lgp;Lcsz;Lgp;Lcrk;Lhu;)Ldoh;
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
- Mappings:
Namespace Name Mixin selector official a
Ldsh;a(Lqp;)Lqp;
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
- Mappings:
Namespace Name Mixin selector official a
Ldsh;a(Lha;Lqp;)V
intermediary method_15183
Lnet/minecraft/class_3499;method_15183(Lnet/minecraft/class_7871;Lnet/minecraft/class_2487;)V
named readNbt
Lnet/minecraft/structure/StructureTemplate;readNbt(Lnet/minecraft/registry/RegistryEntryLookup;Lnet/minecraft/nbt/NbtCompound;)V
-
loadPalettedBlockInfo
private void loadPalettedBlockInfo(RegistryEntryLookup<Block> blockLookup, NbtList palette, NbtList blocks) - Mappings:
Namespace Name Mixin selector official a
Ldsh;a(Lha;Lqv;Lqv;)V
intermediary method_15177
Lnet/minecraft/class_3499;method_15177(Lnet/minecraft/class_7871;Lnet/minecraft/class_2499;Lnet/minecraft/class_2499;)V
named loadPalettedBlockInfo
Lnet/minecraft/structure/StructureTemplate;loadPalettedBlockInfo(Lnet/minecraft/registry/RegistryEntryLookup;Lnet/minecraft/nbt/NbtList;Lnet/minecraft/nbt/NbtList;)V
-
createNbtIntList
- Mappings:
Namespace Name Mixin selector official a
Ldsh;a([I)Lqv;
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
- Mappings:
Namespace Name Mixin selector official a
Ldsh;a([D)Lqv;
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;
-