net.minecraft.world.level.levelgen.structure.templatesystem

public class StructureTemplate

esm
net.minecraft.world.level.levelgen.structure.templatesystem.StructureTemplate
net.minecraft.class_3499
net.minecraft.structure.StructureTemplate
net.minecraft.world.level.levelgen.structure.templatesystem.DefinedStructure

Field summary

Modifier and TypeField
public static final String
a
PALETTE_TAG
field_31687
PALETTE_KEY
public static final String
b
PALETTE_LIST_TAG
field_31688
PALETTES_KEY
public static final String
c
ENTITIES_TAG
field_31689
ENTITIES_KEY
public static final String
d
BLOCKS_TAG
field_31690
BLOCKS_KEY
public static final String
e
BLOCK_TAG_POS
field_31691
BLOCKS_POS_KEY
public static final String
f
BLOCK_TAG_STATE
field_31692
BLOCKS_STATE_KEY
public static final String
g
BLOCK_TAG_NBT
field_31693
BLOCKS_NBT_KEY
public static final String
h
ENTITY_TAG_POS
field_31694
ENTITIES_POS_KEY
public static final String
i
ENTITY_TAG_BLOCKPOS
field_31695
ENTITIES_BLOCK_POS_KEY
public static final String
j
ENTITY_TAG_NBT
field_31696
ENTITIES_NBT_KEY
public static final String
k
SIZE_TAG
field_31697
SIZE_KEY
private final List<StructureTemplate$Palette>
l
palettes
field_15586
blockInfoLists
private final List<StructureTemplate$StructureEntityInfo>
m
entityInfoList
field_15589
entities
private Vec3i
n
size
field_15587
size
private String
o
author
field_15588
author

Constructor summary

ModifierConstructor
public ()

Method summary

Modifier and TypeMethod
public Vec3i
a()
getSize()
method_15160()
getSize()
public void
a(String arg0)
setAuthor(String arg0)
method_15161(String arg0)
setAuthor(String author)
public String
b()
getAuthor()
method_15181()
getAuthor()
public void
a(dhi arg0, jh arg1, kl arg2, boolean arg3, dkm arg4)
fillFromWorld(Level arg0, BlockPos arg1, Vec3i arg2, boolean arg3, Block arg4)
method_15174(class_1937 arg0, class_2338 arg1, class_2382 arg2, boolean arg3, class_2248 arg4)
saveFromWorld(World world, BlockPos start, Vec3i dimensions, boolean includeEntities, Block ignoredBlock)
private static void
a(esm$d arg0, List<esm$d> arg1, List<esm$d> arg2, List<esm$d> arg3)
addToLists(StructureTemplate$StructureBlockInfo arg0, List<StructureTemplate$StructureBlockInfo> arg1, List<StructureTemplate$StructureBlockInfo> arg2, List<StructureTemplate$StructureBlockInfo> arg3)
method_28054(class_3499$class_3501 arg0, List<class_3499$class_3501> arg1, List<class_3499$class_3501> arg2, List<class_3499$class_3501> arg3)
categorize(StructureTemplate$StructureBlockInfo blockInfo, List<StructureTemplate$StructureBlockInfo> fullBlocks, List<StructureTemplate$StructureBlockInfo> blocksWithNbt, List<StructureTemplate$StructureBlockInfo> otherBlocks)
private static List<StructureTemplate$StructureBlockInfo>
a(List<esm$d> arg0, List<esm$d> arg1, List<esm$d> arg2)
buildInfoList(List<StructureTemplate$StructureBlockInfo> arg0, List<StructureTemplate$StructureBlockInfo> arg1, List<StructureTemplate$StructureBlockInfo> arg2)
method_28055(List<class_3499$class_3501> arg0, List<class_3499$class_3501> arg1, List<class_3499$class_3501> arg2)
combineSorted(List<StructureTemplate$StructureBlockInfo> fullBlocks, List<StructureTemplate$StructureBlockInfo> blocksWithNbt, List<StructureTemplate$StructureBlockInfo> otherBlocks)
private void
a(dhi arg0, jh arg1, jh arg2)
fillEntityList(Level arg0, BlockPos arg1, BlockPos arg2)
method_15164(class_1937 arg0, class_2338 arg1, class_2338 arg2)
addEntitiesFromWorld(World world, BlockPos firstCorner, BlockPos secondCorner)
public List<StructureTemplate$StructureBlockInfo>
a(jh arg0, esi arg1, dkm arg2)
filterBlocks(BlockPos arg0, StructurePlaceSettings arg1, Block arg2)
method_16445(class_2338 arg0, class_3492 arg1, class_2248 arg2)
getInfosForBlock(BlockPos pos, StructurePlacementData placementData, Block block)
public List<StructureTemplate$JigsawBlockInfo>
a(jh arg0, drc arg1)
getJigsaws(BlockPos arg0, Rotation arg1)
method_64822(class_2338 arg0, class_2470 arg1)
getJigsawInfos(BlockPos pos, BlockRotation rotation)
public it.unimi.dsi.fastutil.objects.ObjectArrayList<StructureTemplate$StructureBlockInfo>
a(jh arg0, esi arg1, dkm arg2, boolean arg3)
filterBlocks(BlockPos arg0, StructurePlaceSettings arg1, Block arg2, boolean arg3)
method_15165(class_2338 arg0, class_3492 arg1, class_2248 arg2, boolean arg3)
getInfosForBlock(BlockPos pos, StructurePlacementData placementData, Block block, boolean transformed)
public BlockPos
a(esi arg0, jh arg1, esi arg2, jh arg3)
calculateConnectedPosition(StructurePlaceSettings arg0, BlockPos arg1, StructurePlaceSettings arg2, BlockPos arg3)
method_15180(class_3492 arg0, class_2338 arg1, class_3492 arg2, class_2338 arg3)
transformBox(StructurePlacementData placementData1, BlockPos pos1, StructurePlacementData placementData2, BlockPos pos2)
public static BlockPos
a(esi arg0, jh arg1)
calculateRelativePosition(StructurePlaceSettings arg0, BlockPos arg1)
method_15171(class_3492 arg0, class_2338 arg1)
transform(StructurePlacementData placementData, BlockPos pos)
public boolean
a(dhz arg0, jh arg1, jh arg2, esi arg3, bam arg4, int arg5)
placeInWorld(ServerLevelAccessor arg0, BlockPos arg1, BlockPos arg2, StructurePlaceSettings arg3, RandomSource arg4, int arg5)
method_15172(class_5425 arg0, class_2338 arg1, class_2338 arg2, class_3492 arg3, class_5819 arg4, int arg5)
place(ServerWorldAccess world, BlockPos pos, BlockPos pivot, StructurePlacementData placementData, Random random, int flags)
public static void
a(dhj arg0, int arg1, fch arg2, jh arg3)
updateShapeAtEdge(LevelAccessor arg0, int arg1, DiscreteVoxelShape arg2, BlockPos arg3)
method_58190(class_1936 arg0, int arg1, class_251 arg2, class_2338 arg3)
updateCorner(WorldAccess world, int flags, VoxelSet set, BlockPos startPos)
public static void
a(dhj arg0, int arg1, fch arg2, int arg3, int arg4, int arg5)
updateShapeAtEdge(LevelAccessor arg0, int arg1, DiscreteVoxelShape arg2, int arg3, int arg4, int arg5)
method_20532(class_1936 arg0, int arg1, class_251 arg2, int arg3, int arg4, int arg5)
updateCorner(WorldAccess world, int flags, VoxelSet set, int startX, int startY, int startZ)
public static List<StructureTemplate$StructureBlockInfo>
a(dhz arg0, jh arg1, jh arg2, esi arg3, List<esm$d> arg4)
processBlockInfos(ServerLevelAccessor arg0, BlockPos arg1, BlockPos arg2, StructurePlaceSettings arg3, List<StructureTemplate$StructureBlockInfo> arg4)
method_16446(class_5425 arg0, class_2338 arg1, class_2338 arg2, class_3492 arg3, List<class_3499$class_3501> arg4)
process(ServerWorldAccess world, BlockPos pos, BlockPos pivot, StructurePlacementData placementData, List<StructureTemplate$StructureBlockInfo> infos)
private void
a(dhz arg0, jh arg1, dpl arg2, drc arg3, jh arg4, eoc arg5, boolean arg6)
placeEntities(ServerLevelAccessor arg0, BlockPos arg1, Mirror arg2, Rotation arg3, BlockPos arg4, BoundingBox arg5, boolean arg6)
method_15179(class_5425 arg0, class_2338 arg1, class_2415 arg2, class_2470 arg3, class_2338 arg4, class_3341 arg5, boolean arg6)
spawnEntities(ServerWorldAccess world, BlockPos pos, BlockMirror mirror, BlockRotation rotation, BlockPos pivot, BlockBox area, boolean initializeMobs)
private static Optional<Entity>
a(dhz arg0, ux arg1)
createEntityIgnoreException(ServerLevelAccessor arg0, CompoundTag arg1)
method_17916(class_5425 arg0, class_2487 arg1)
getEntity(ServerWorldAccess world, NbtCompound nbt)
public Vec3i
a(drc arg0)
getSize(Rotation arg0)
method_15166(class_2470 arg0)
getRotatedSize(BlockRotation rotation)
public static BlockPos
a(jh arg0, dpl arg1, drc arg2, jh arg3)
transform(BlockPos arg0, Mirror arg1, Rotation arg2, BlockPos arg3)
method_15168(class_2338 arg0, class_2415 arg1, class_2470 arg2, class_2338 arg3)
transformAround(BlockPos pos, BlockMirror mirror, BlockRotation rotation, BlockPos pivot)
public static Vec3
a(fby arg0, dpl arg1, drc arg2, jh arg3)
transform(Vec3 arg0, Mirror arg1, Rotation arg2, BlockPos arg3)
method_15176(class_243 arg0, class_2415 arg1, class_2470 arg2, class_2338 arg3)
transformAround(Vec3d point, BlockMirror mirror, BlockRotation rotation, BlockPos pivot)
public BlockPos
a(jh arg0, dpl arg1, drc arg2)
getZeroPositionWithTransform(BlockPos arg0, Mirror arg1, Rotation arg2)
method_15167(class_2338 arg0, class_2415 arg1, class_2470 arg2)
offsetByTransformedSize(BlockPos pos, BlockMirror mirror, BlockRotation rotation)
public static BlockPos
a(jh arg0, dpl arg1, drc arg2, int arg3, int arg4)
getZeroPositionWithTransform(BlockPos arg0, Mirror arg1, Rotation arg2, int arg3, int arg4)
method_15162(class_2338 arg0, class_2415 arg1, class_2470 arg2, int arg3, int arg4)
applyTransformedOffset(BlockPos pos, BlockMirror mirror, BlockRotation rotation, int offsetX, int offsetZ)
public BoundingBox
b(esi arg0, jh arg1)
getBoundingBox(StructurePlaceSettings arg0, BlockPos arg1)
method_16187(class_3492 arg0, class_2338 arg1)
calculateBoundingBox(StructurePlacementData placementData, BlockPos pos)
public BoundingBox
a(jh arg0, drc arg1, jh arg2, dpl arg3)
getBoundingBox(BlockPos arg0, Rotation arg1, BlockPos arg2, Mirror arg3)
method_27267(class_2338 arg0, class_2470 arg1, class_2338 arg2, class_2415 arg3)
calculateBoundingBox(BlockPos pos, BlockRotation rotation, BlockPos pivot, BlockMirror mirror)
protected static BoundingBox
a(jh arg0, drc arg1, jh arg2, dpl arg3, kl arg4)
getBoundingBox(BlockPos arg0, Rotation arg1, BlockPos arg2, Mirror arg3, Vec3i arg4)
method_34400(class_2338 arg0, class_2470 arg1, class_2338 arg2, class_2415 arg3, class_2382 arg4)
createBox(BlockPos pos, BlockRotation rotation, BlockPos pivot, BlockMirror mirror, Vec3i dimensions)
public CompoundTag
a(ux arg0)
save(CompoundTag arg0)
method_15175(class_2487 arg0)
writeNbt(NbtCompound nbt)
public void
a(jr<dkm> arg0, ux arg1)
load(HolderGetter<Block> arg0, CompoundTag arg1)
method_15183(class_7871<class_2248> arg0, class_2487 arg1)
readNbt(RegistryEntryLookup<Block> blockLookup, NbtCompound nbt)
private void
a(jr<dkm> arg0, vd arg1, vd arg2)
loadPalette(HolderGetter<Block> arg0, ListTag arg1, ListTag arg2)
method_15177(class_7871<class_2248> arg0, class_2499 arg1, class_2499 arg2)
loadPalettedBlockInfo(RegistryEntryLookup<Block> blockLookup, NbtList palette, NbtList blocks)
private ListTag
a(int... arg0)
newIntegerList(int... arg0)
method_15169(int... arg0)
createNbtIntList(int... ints)
private ListTag
a(double... arg0)
newDoubleList(double... arg0)
method_15184(double... arg0)
createNbtDoubleList(double... doubles)
public static JigsawBlockEntity$JointType
a(ux arg0, dxv arg1)
getJointType(CompoundTag arg0, BlockState arg1)
method_64823(class_2487 arg0, class_2680 arg1)
readJoint(NbtCompound nbt, BlockState state)