Package net.minecraft.structure
Class Structure
java.lang.Object
net.minecraft.structure.Structure
public class Structure extends Object
- Mappings:
Namespace Name official cyo
intermediary net/minecraft/class_3499
named net/minecraft/structure/Structure
-
Nested Class Summary
Nested Classes Modifier and Type Class Description (package private) static class
Structure.Palette
static class
Structure.PalettedBlockInfoList
static class
Structure.StructureBlockInfo
static class
Structure.StructureEntityInfo
-
Field Summary
Fields Modifier and Type Field Description private String
author
private List<Structure.PalettedBlockInfoList>
blockInfoLists
private List<Structure.StructureEntityInfo>
entities
private BlockPos
size
-
Constructor Summary
Constructors Constructor Description Structure()
-
Method Summary
-
Field Details
-
blockInfoLists
- Mappings:
Namespace Name Mixin selector official a
Lcyo;a:Ljava/util/List;
intermediary field_15586
Lnet/minecraft/class_3499;field_15586:Ljava/util/List;
named blockInfoLists
Lnet/minecraft/structure/Structure;blockInfoLists:Ljava/util/List;
-
entities
- Mappings:
Namespace Name Mixin selector official b
Lcyo;b:Ljava/util/List;
intermediary field_15589
Lnet/minecraft/class_3499;field_15589:Ljava/util/List;
named entities
Lnet/minecraft/structure/Structure;entities:Ljava/util/List;
-
size
- Mappings:
Namespace Name Mixin selector official c
Lcyo;c:Lfx;
intermediary field_15587
Lnet/minecraft/class_3499;field_15587:Lnet/minecraft/class_2338;
named size
Lnet/minecraft/structure/Structure;size:Lnet/minecraft/util/math/BlockPos;
-
author
- Mappings:
Namespace Name Mixin selector official d
Lcyo;d:Ljava/lang/String;
intermediary field_15588
Lnet/minecraft/class_3499;field_15588:Ljava/lang/String;
named author
Lnet/minecraft/structure/Structure;author:Ljava/lang/String;
-
-
Constructor Details
-
Structure
public Structure()
-
-
Method Details
-
getSize
- Mappings:
Namespace Name Mixin selector official a
Lcyo;a()Lfx;
intermediary method_15160
Lnet/minecraft/class_3499;method_15160()Lnet/minecraft/class_2338;
named getSize
Lnet/minecraft/structure/Structure;getSize()Lnet/minecraft/util/math/BlockPos;
-
setAuthor
- Mappings:
Namespace Name Mixin selector official a
Lcyo;a(Ljava/lang/String;)V
intermediary method_15161
Lnet/minecraft/class_3499;method_15161(Ljava/lang/String;)V
named setAuthor
Lnet/minecraft/structure/Structure;setAuthor(Ljava/lang/String;)V
-
getAuthor
- Mappings:
Namespace Name Mixin selector official b
Lcyo;b()Ljava/lang/String;
intermediary method_15181
Lnet/minecraft/class_3499;method_15181()Ljava/lang/String;
named getAuthor
Lnet/minecraft/structure/Structure;getAuthor()Ljava/lang/String;
-
saveFromWorld
public void saveFromWorld(World world, BlockPos start, BlockPos size, boolean includeEntities, @Nullable Block ignoredBlock)- Mappings:
Namespace Name Mixin selector official a
Lcyo;a(Lbtv;Lfx;Lfx;ZLbwu;)V
intermediary method_15174
Lnet/minecraft/class_3499;method_15174(Lnet/minecraft/class_1937;Lnet/minecraft/class_2338;Lnet/minecraft/class_2338;ZLnet/minecraft/class_2248;)V
named saveFromWorld
Lnet/minecraft/structure/Structure;saveFromWorld(Lnet/minecraft/world/World;Lnet/minecraft/util/math/BlockPos;Lnet/minecraft/util/math/BlockPos;ZLnet/minecraft/block/Block;)V
-
method_28054
private static void method_28054(Structure.StructureBlockInfo structureBlockInfo, List<Structure.StructureBlockInfo> list, List<Structure.StructureBlockInfo> list2, List<Structure.StructureBlockInfo> list3)- Mappings:
Namespace Name Mixin selector official a
Lcyo;a(Lcyo$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 method_28054
Lnet/minecraft/structure/Structure;method_28054(Lnet/minecraft/structure/Structure$StructureBlockInfo;Ljava/util/List;Ljava/util/List;Ljava/util/List;)V
-
method_28055
private static List<Structure.StructureBlockInfo> method_28055(List<Structure.StructureBlockInfo> list, List<Structure.StructureBlockInfo> list2, List<Structure.StructureBlockInfo> list3)- Mappings:
Namespace Name Mixin selector official a
Lcyo;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 method_28055
Lnet/minecraft/structure/Structure;method_28055(Ljava/util/List;Ljava/util/List;Ljava/util/List;)Ljava/util/List;
-
addEntitiesFromWorld
- Mappings:
Namespace Name Mixin selector official a
Lcyo;a(Lbtv;Lfx;Lfx;)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/Structure;addEntitiesFromWorld(Lnet/minecraft/world/World;Lnet/minecraft/util/math/BlockPos;Lnet/minecraft/util/math/BlockPos;)V
-
getInfosForBlock
public List<Structure.StructureBlockInfo> getInfosForBlock(BlockPos pos, StructurePlacementData placementData, Block block)- Mappings:
Namespace Name Mixin selector official a
Lcyo;a(Lfx;Lcyk;Lbwu;)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/Structure;getInfosForBlock(Lnet/minecraft/util/math/BlockPos;Lnet/minecraft/structure/StructurePlacementData;Lnet/minecraft/block/Block;)Ljava/util/List;
-
getInfosForBlock
public List<Structure.StructureBlockInfo> getInfosForBlock(BlockPos pos, StructurePlacementData placementData, Block block, boolean transformed)- Mappings:
Namespace Name Mixin selector official a
Lcyo;a(Lfx;Lcyk;Lbwu;Z)Ljava/util/List;
intermediary method_15165
Lnet/minecraft/class_3499;method_15165(Lnet/minecraft/class_2338;Lnet/minecraft/class_3492;Lnet/minecraft/class_2248;Z)Ljava/util/List;
named getInfosForBlock
Lnet/minecraft/structure/Structure;getInfosForBlock(Lnet/minecraft/util/math/BlockPos;Lnet/minecraft/structure/StructurePlacementData;Lnet/minecraft/block/Block;Z)Ljava/util/List;
-
transformBox
public BlockPos transformBox(StructurePlacementData placementData1, BlockPos pos1, StructurePlacementData placementData2, BlockPos pos2)- Mappings:
Namespace Name Mixin selector official a
Lcyo;a(Lcyk;Lfx;Lcyk;Lfx;)Lfx;
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/Structure;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
Lcyo;a(Lcyk;Lfx;)Lfx;
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/Structure;transform(Lnet/minecraft/structure/StructurePlacementData;Lnet/minecraft/util/math/BlockPos;)Lnet/minecraft/util/math/BlockPos;
-
place
public boolean place(ServerWorldAccess world, BlockPos pos, BlockPos blockPos, StructurePlacementData placementData, Random random, int int2)- Mappings:
Namespace Name Mixin selector official a
Lcyo;a(Lbuj;Lfx;Lfx;Lcyk;Ljava/util/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;Ljava/util/Random;I)Z
named place
Lnet/minecraft/structure/Structure;place(Lnet/minecraft/world/ServerWorldAccess;Lnet/minecraft/util/math/BlockPos;Lnet/minecraft/util/math/BlockPos;Lnet/minecraft/structure/StructurePlacementData;Ljava/util/Random;I)Z
-
updateCorner
public static void updateCorner(WorldAccess world, int flags, VoxelSet voxelSet, int startX, int startY, int startZ)- Mappings:
Namespace Name Mixin selector official a
Lcyo;a(Lbtw;ILdjd;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/Structure;updateCorner(Lnet/minecraft/world/WorldAccess;ILnet/minecraft/util/shape/VoxelSet;III)V
-
process
public static List<Structure.StructureBlockInfo> process(WorldAccess world, BlockPos pos, BlockPos blockPos, StructurePlacementData placementData, List<Structure.StructureBlockInfo> list)- Mappings:
Namespace Name Mixin selector official a
Lcyo;a(Lbtw;Lfx;Lfx;Lcyk;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/Structure;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 BlockBox area, boolean bool)- Mappings:
Namespace Name Mixin selector official a
Lcyo;a(Lbuj;Lfx;Lcbb;Lccm;Lfx;Lcwn;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/Structure;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
Lcyo;a(Lbuj;Lmq;)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/Structure;getEntity(Lnet/minecraft/world/ServerWorldAccess;Lnet/minecraft/nbt/CompoundTag;)Ljava/util/Optional;
-
getRotatedSize
- Mappings:
Namespace Name Mixin selector official a
Lcyo;a(Lccm;)Lfx;
intermediary method_15166
Lnet/minecraft/class_3499;method_15166(Lnet/minecraft/class_2470;)Lnet/minecraft/class_2338;
named getRotatedSize
Lnet/minecraft/structure/Structure;getRotatedSize(Lnet/minecraft/util/BlockRotation;)Lnet/minecraft/util/math/BlockPos;
-
transformAround
public static BlockPos transformAround(BlockPos pos, BlockMirror mirror, BlockRotation rotation, BlockPos pivot)- Mappings:
Namespace Name Mixin selector official a
Lcyo;a(Lfx;Lcbb;Lccm;Lfx;)Lfx;
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/Structure;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
Lcyo;a(Ldiu;Lcbb;Lccm;Lfx;)Ldiu;
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/Structure;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
Lcyo;a(Lfx;Lcbb;Lccm;)Lfx;
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/Structure;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
Lcyo;a(Lfx;Lcbb;Lccm;II)Lfx;
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/Structure;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
Lcyo;b(Lcyk;Lfx;)Lcwn;
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/Structure;calculateBoundingBox(Lnet/minecraft/structure/StructurePlacementData;Lnet/minecraft/util/math/BlockPos;)Lnet/minecraft/util/math/BlockBox;
-
calculateBoundingBox
public BlockBox calculateBoundingBox(BlockPos pos, BlockRotation rotation, BlockPos blockPos, BlockMirror mirror)- Mappings:
Namespace Name Mixin selector official a
Lcyo;a(Lfx;Lccm;Lfx;Lcbb;)Lcwn;
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/Structure;calculateBoundingBox(Lnet/minecraft/util/math/BlockPos;Lnet/minecraft/util/BlockRotation;Lnet/minecraft/util/math/BlockPos;Lnet/minecraft/util/BlockMirror;)Lnet/minecraft/util/math/BlockBox;
-
mirrorBoundingBox
private void mirrorBoundingBox(BlockRotation rotation, int offsetX, int offsetZ, BlockBox boundingBox, Direction direction, Direction direction2)- Mappings:
Namespace Name Mixin selector official a
Lcyo;a(Lccm;IILcwn;Lgc;Lgc;)V
intermediary method_16186
Lnet/minecraft/class_3499;method_16186(Lnet/minecraft/class_2470;IILnet/minecraft/class_3341;Lnet/minecraft/class_2350;Lnet/minecraft/class_2350;)V
named mirrorBoundingBox
Lnet/minecraft/structure/Structure;mirrorBoundingBox(Lnet/minecraft/util/BlockRotation;IILnet/minecraft/util/math/BlockBox;Lnet/minecraft/util/math/Direction;Lnet/minecraft/util/math/Direction;)V
-
toTag
- Mappings:
Namespace Name Mixin selector official a
Lcyo;a(Lmq;)Lmq;
intermediary method_15175
Lnet/minecraft/class_3499;method_15175(Lnet/minecraft/class_2487;)Lnet/minecraft/class_2487;
named toTag
Lnet/minecraft/structure/Structure;toTag(Lnet/minecraft/nbt/CompoundTag;)Lnet/minecraft/nbt/CompoundTag;
-
fromTag
- Mappings:
Namespace Name Mixin selector official b
Lcyo;b(Lmq;)V
intermediary method_15183
Lnet/minecraft/class_3499;method_15183(Lnet/minecraft/class_2487;)V
named fromTag
Lnet/minecraft/structure/Structure;fromTag(Lnet/minecraft/nbt/CompoundTag;)V
-
loadPalettedBlockInfo
- Mappings:
Namespace Name Mixin selector official a
Lcyo;a(Lmw;Lmw;)V
intermediary method_15177
Lnet/minecraft/class_3499;method_15177(Lnet/minecraft/class_2499;Lnet/minecraft/class_2499;)V
named loadPalettedBlockInfo
Lnet/minecraft/structure/Structure;loadPalettedBlockInfo(Lnet/minecraft/nbt/ListTag;Lnet/minecraft/nbt/ListTag;)V
-
createIntListTag
- Mappings:
Namespace Name Mixin selector official a
Lcyo;a([I)Lmw;
intermediary method_15169
Lnet/minecraft/class_3499;method_15169([I)Lnet/minecraft/class_2499;
named createIntListTag
Lnet/minecraft/structure/Structure;createIntListTag([I)Lnet/minecraft/nbt/ListTag;
-
createDoubleListTag
- Mappings:
Namespace Name Mixin selector official a
Lcyo;a([D)Lmw;
intermediary method_15184
Lnet/minecraft/class_3499;method_15184([D)Lnet/minecraft/class_2499;
named createDoubleListTag
Lnet/minecraft/structure/Structure;createDoubleListTag([D)Lnet/minecraft/nbt/ListTag;
-