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

public class StructureTemplate

dot
net.minecraft.world.level.levelgen.structure.templatesystem.StructureTemplate
net.minecraft.class_3499
net.minecraft.unmapped.C_abvlwuej
net.minecraft.structure.StructureTemplate
net.minecraft.structure.Structure
net.minecraft.src.C_2634_
net.minecraft.world.level.levelgen.structure.templatesystem.DefinedStructure

Field summary

Modifier and TypeField
public static final String
a
PALETTE_TAG
field_31687
f_hsbcgvcv
PALETTE_KEY
PALETTE_KEY
f_163789_
public static final String
b
PALETTE_LIST_TAG
field_31688
f_lufeyjit
PALETTES_KEY
PALETTES_KEY
f_163790_
public static final String
c
ENTITIES_TAG
field_31689
f_eitmfdgf
ENTITIES_KEY
ENTITIES_KEY
f_163791_
public static final String
d
BLOCKS_TAG
field_31690
f_mcjzfsdw
BLOCKS_KEY
BLOCKS_KEY
f_163792_
public static final String
e
BLOCK_TAG_POS
field_31691
f_znssuxga
BLOCKS_POS_KEY
BLOCKS_POS_KEY
f_163793_
public static final String
f
BLOCK_TAG_STATE
field_31692
f_dewudrzx
BLOCKS_STATE_KEY
BLOCKS_STATE_KEY
f_163794_
public static final String
g
BLOCK_TAG_NBT
field_31693
f_dclbjfhp
BLOCKS_NBT_KEY
BLOCKS_NBT_KEY
f_163795_
public static final String
h
ENTITY_TAG_POS
field_31694
f_sdnxyaov
ENTITIES_POS_KEY
ENTITIES_POS_KEY
f_163796_
public static final String
i
ENTITY_TAG_BLOCKPOS
field_31695
f_txlboyjq
ENTITIES_BLOCK_POS_KEY
ENTITIES_BLOCK_POS_KEY
f_163797_
public static final String
j
ENTITY_TAG_NBT
field_31696
f_eggyxcyn
ENTITIES_NBT_KEY
ENTITIES_NBT_KEY
f_163798_
public static final String
k
SIZE_TAG
field_31697
f_dzruigwu
SIZE_KEY
SIZE_KEY
f_163799_
static final int
l
CHUNK_SIZE
field_31698
f_xhqnycuv
field_31698
CHUNK_SIZE
f_163800_
private final List<StructureTemplate$Palette>
m
palettes
field_15586
f_ajccaszz
blockInfoLists
blockInfoLists
f_74482_
private final List<StructureTemplate$StructureEntityInfo>
n
entityInfoList
field_15589
f_ocgjnwmo
entities
entities
f_74483_
private Vec3i
o
size
field_15587
f_ithxgtjx
size
size
f_74484_
private String
p
author
field_15588
f_djajsjip
author
author
f_74485_

Constructor summary

ModifierConstructor
public ()

Method summary

Modifier and TypeMethod
public Vec3i
a()
getSize()
method_15160()
m_wvzkxjeh()
getSize()
getSize()
m_163801_()
public void
a(String arg0)
setAuthor(String arg0)
method_15161(String arg0)
m_yxoaviue(String arg0)
setAuthor(String author)
setAuthor(String name)
m_74612_(String arg0)
public String
b()
getAuthor()
method_15181()
m_ivbqhzzt()
getAuthor()
getAuthor()
m_74627_()
public void
a(cgx arg0, gt arg1, hs arg2, boolean arg3, cjt 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)
m_oymrsotu(C_cdctfzbn arg0, C_hynzadkk arg1, C_ceivtqhh arg2, boolean arg3, C_mmxmpdoq arg4)
saveFromWorld(World world, BlockPos start, Vec3i dimensions, boolean includeEntities, Block ignoredBlock)
saveFromWorld(World world, BlockPos start, Vec3i dimensions, boolean includeEntities, Block ignoredBlock)
m_163802_(C_1596_ p_163804_, C_4675_ p_163805_, C_4713_ p_163806_, boolean p_163807_, C_1706_ arg4)
private static void
a(dot$c arg0, List<dot$c> arg1, List<dot$c> arg2, List<dot$c> 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)
m_bzblyzyp(C_abvlwuej$C_vmcrhozi arg0, List<C_abvlwuej$C_vmcrhozi> arg1, List<C_abvlwuej$C_vmcrhozi> arg2, List<C_abvlwuej$C_vmcrhozi> arg3)
categorize(StructureTemplate$StructureBlockInfo blockInfo, List<StructureTemplate$StructureBlockInfo> fullBlocks, List<StructureTemplate$StructureBlockInfo> blocksWithNbt, List<StructureTemplate$StructureBlockInfo> otherBlocks)
categorizeBlockInfo(Structure$StructureBlockInfo blockInfo, List<Structure$StructureBlockInfo> fullBlocks, List<Structure$StructureBlockInfo> blocksWithNbt, List<Structure$StructureBlockInfo> otherBlocks)
m_74573_(C_2634_$C_2638_ p_74574_, List<C_2634_$C_2638_> p_74575_, List<C_2634_$C_2638_> p_74576_, List<C_2634_$C_2638_> p_74577_)
private static List<StructureTemplate$StructureBlockInfo>
a(List<dot$c> arg0, List<dot$c> arg1, List<dot$c> 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)
m_wewiirru(List<C_abvlwuej$C_vmcrhozi> arg0, List<C_abvlwuej$C_vmcrhozi> arg1, List<C_abvlwuej$C_vmcrhozi> arg2)
combineSorted(List<StructureTemplate$StructureBlockInfo> fullBlocks, List<StructureTemplate$StructureBlockInfo> blocksWithNbt, List<StructureTemplate$StructureBlockInfo> otherBlocks)
sortAndCombine(List<Structure$StructureBlockInfo> fullBlocks, List<Structure$StructureBlockInfo> blocksWIthNbt, List<Structure$StructureBlockInfo> otherBlocks)
m_74614_(List<C_2634_$C_2638_> p_74615_, List<C_2634_$C_2638_> p_74616_, List<C_2634_$C_2638_> p_74617_)
private void
a(cgx arg0, gt arg1, gt arg2)
fillEntityList(Level arg0, BlockPos arg1, BlockPos arg2)
method_15164(class_1937 arg0, class_2338 arg1, class_2338 arg2)
m_oeaqfwhg(C_cdctfzbn arg0, C_hynzadkk arg1, C_hynzadkk arg2)
addEntitiesFromWorld(World world, BlockPos firstCorner, BlockPos secondCorner)
addEntitiesFromWorld(World world, BlockPos firstCorner, BlockPos secondCorner)
m_74500_(C_1596_ p_74502_, C_4675_ p_74503_, C_4675_ arg2)
public List<StructureTemplate$StructureBlockInfo>
a(gt arg0, dop arg1, cjt arg2)
filterBlocks(BlockPos arg0, StructurePlaceSettings arg1, Block arg2)
method_16445(class_2338 arg0, class_3492 arg1, class_2248 arg2)
m_yqochnqn(C_hynzadkk arg0, C_mhhynxof arg1, C_mmxmpdoq arg2)
getInfosForBlock(BlockPos pos, StructurePlacementData placementData, Block block)
getInfosForBlock(BlockPos pos, StructurePlacementData placementData, Block block)
m_74603_(C_4675_ p_74605_, C_2628_ p_74606_, C_1706_ arg2)
public it.unimi.dsi.fastutil.objects.ObjectArrayList<StructureTemplate$StructureBlockInfo>
a(gt arg0, dop arg1, cjt 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)
m_swgkdopl(C_hynzadkk arg0, C_mhhynxof arg1, C_mmxmpdoq arg2, boolean arg3)
getInfosForBlock(BlockPos pos, StructurePlacementData placementData, Block block, boolean transformed)
getInfosForBlock(BlockPos pos, StructurePlacementData placementData, Block block, boolean transformPos)
m_230335_(C_4675_ p_230337_, C_2628_ p_230338_, C_1706_ p_230339_, boolean arg3)
public BlockPos
a(dop arg0, gt arg1, dop arg2, gt arg3)
calculateConnectedPosition(StructurePlaceSettings arg0, BlockPos arg1, StructurePlaceSettings arg2, BlockPos arg3)
method_15180(class_3492 arg0, class_2338 arg1, class_3492 arg2, class_2338 arg3)
m_neygxlua(C_mhhynxof arg0, C_hynzadkk arg1, C_mhhynxof arg2, C_hynzadkk arg3)
transformBox(StructurePlacementData placementData1, BlockPos pos1, StructurePlacementData placementData2, BlockPos pos2)
transformBox(StructurePlacementData placementData1, BlockPos pos1, StructurePlacementData placementData2, BlockPos pos2)
m_74566_(C_2628_ p_74568_, C_4675_ p_74569_, C_2628_ p_74570_, C_4675_ arg3)
public static BlockPos
a(dop arg0, gt arg1)
calculateRelativePosition(StructurePlaceSettings arg0, BlockPos arg1)
method_15171(class_3492 arg0, class_2338 arg1)
m_ncazepne(C_mhhynxof arg0, C_hynzadkk arg1)
transform(StructurePlacementData placementData, BlockPos pos)
transform(StructurePlacementData placementData, BlockPos pos)
m_74563_(C_2628_ p_74564_, C_4675_ p_74565_)
public boolean
a(chm arg0, gt arg1, gt arg2, dop arg3, amn 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)
m_audqbiwk(C_jmnzlycd arg0, C_hynzadkk arg1, C_hynzadkk arg2, C_mhhynxof arg3, C_rlomrsco arg4, int arg5)
place(ServerWorldAccess world, BlockPos pos, BlockPos pivot, StructurePlacementData placementData, Random random, int flags)
place(ServerWorldAccess world, BlockPos pos, BlockPos pivot, StructurePlacementData placementData, RandomGenerator random, int flags)
m_230328_(C_1618_ p_230330_, C_4675_ p_230331_, C_4675_ p_230332_, C_2628_ p_230333_, C_212974_ p_230334_, int arg5)
public static void
a(cgy arg0, int arg1, dwz 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)
m_qcsrhfic(C_vdvbsyle arg0, int arg1, C_bipoyzjn arg2, int arg3, int arg4, int arg5)
updateCorner(WorldAccess world, int flags, VoxelSet set, int startX, int startY, int startZ)
updateCorner(WorldAccess world, int flags, VoxelSet arg2, int startX, int startY, int startZ)
m_74510_(C_1598_ p_74511_, int p_74512_, C_3055_ p_74513_, int p_74514_, int p_74515_, int p_74516_)
public static List<StructureTemplate$StructureBlockInfo>
a(cgy arg0, gt arg1, gt arg2, dop arg3, List<dot$c> arg4)
processBlockInfos(LevelAccessor arg0, BlockPos arg1, BlockPos arg2, StructurePlaceSettings arg3, List<StructureTemplate$StructureBlockInfo> arg4)
method_16446(class_1936 arg0, class_2338 arg1, class_2338 arg2, class_3492 arg3, List<class_3499$class_3501> arg4)
m_knhfsvff(C_vdvbsyle arg0, C_hynzadkk arg1, C_hynzadkk arg2, C_mhhynxof arg3, List<C_abvlwuej$C_vmcrhozi> arg4)
process(WorldAccess world, BlockPos pos, BlockPos pivot, StructurePlacementData placementData, List<StructureTemplate$StructureBlockInfo> infos)
process(WorldAccess world, BlockPos pos, BlockPos pivot, StructurePlacementData placementData, List<Structure$StructureBlockInfo> blockInfo)
m_74517_(C_1598_ p_74518_, C_4675_ p_74519_, C_4675_ p_74520_, C_2628_ p_74521_, List<C_2634_$C_2638_> p_74522_)
private void
a(chm arg0, gt arg1, coh arg2, cpw arg3, gt arg4, dkt 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)
m_wyxwknwj(C_jmnzlycd arg0, C_hynzadkk arg1, C_qomzaqud arg2, C_mboglirk arg3, C_hynzadkk arg4, C_hmqypqzz arg5, boolean arg6)
spawnEntities(ServerWorldAccess world, BlockPos pos, BlockMirror mirror, BlockRotation rotation, BlockPos pivot, BlockBox area, boolean initializeMobs)
spawnEntities(ServerWorldAccess world, BlockPos pos, BlockMirror mirror, BlockRotation rotation, BlockPos pivot, BlockBox area, boolean initializeMobs)
m_74523_(C_1618_ p_74525_, C_4675_ p_74526_, C_1838_ p_74527_, C_1886_ p_74528_, C_4675_ p_74529_, C_2478_ p_74530_, boolean arg6)
private static Optional<Entity>
a(chm arg0, pj arg1)
createEntityIgnoreException(ServerLevelAccessor arg0, CompoundTag arg1)
method_17916(class_5425 arg0, class_2487 arg1)
m_wwirjdyt(C_jmnzlycd arg0, C_hhlwcnih arg1)
getEntity(ServerWorldAccess world, NbtCompound nbt)
getEntity(ServerWorldAccess world, NbtCompound nbt)
m_74543_(C_1618_ p_74544_, C_4917_ p_74545_)
public Vec3i
a(cpw arg0)
getSize(Rotation arg0)
method_15166(class_2470 arg0)
m_rbgwgkgy(C_mboglirk arg0)
getRotatedSize(BlockRotation rotation)
getRotatedSize(BlockRotation rotation)
m_163808_(C_1886_ arg0)
public static BlockPos
a(gt arg0, coh arg1, cpw arg2, gt arg3)
transform(BlockPos arg0, Mirror arg1, Rotation arg2, BlockPos arg3)
method_15168(class_2338 arg0, class_2415 arg1, class_2470 arg2, class_2338 arg3)
m_hkcnussh(C_hynzadkk arg0, C_qomzaqud arg1, C_mboglirk arg2, C_hynzadkk arg3)
transformAround(BlockPos pos, BlockMirror mirror, BlockRotation rotation, BlockPos pivot)
transformAround(BlockPos pos, BlockMirror mirror, BlockRotation rotation, BlockPos pivot)
m_74593_(C_4675_ p_74594_, C_1838_ p_74595_, C_1886_ p_74596_, C_4675_ p_74597_)
public static Vec3
a(dwq arg0, coh arg1, cpw arg2, gt arg3)
transform(Vec3 arg0, Mirror arg1, Rotation arg2, BlockPos arg3)
method_15176(class_243 arg0, class_2415 arg1, class_2470 arg2, class_2338 arg3)
m_tazjccrg(C_vgpupfxx arg0, C_qomzaqud arg1, C_mboglirk arg2, C_hynzadkk arg3)
transformAround(Vec3d point, BlockMirror mirror, BlockRotation rotation, BlockPos pivot)
transformAround(Vec3d point, BlockMirror mirror, BlockRotation rotation, BlockPos pivot)
m_74578_(C_3046_ p_74579_, C_1838_ p_74580_, C_1886_ p_74581_, C_4675_ p_74582_)
public BlockPos
a(gt arg0, coh arg1, cpw arg2)
getZeroPositionWithTransform(BlockPos arg0, Mirror arg1, Rotation arg2)
method_15167(class_2338 arg0, class_2415 arg1, class_2470 arg2)
m_zajwmxfy(C_hynzadkk arg0, C_qomzaqud arg1, C_mboglirk arg2)
offsetByTransformedSize(BlockPos pos, BlockMirror mirror, BlockRotation rotation)
offsetByTransformedSize(BlockPos pos, BlockMirror mirror, BlockRotation rotation)
m_74583_(C_4675_ p_74585_, C_1838_ p_74586_, C_1886_ arg2)
public static BlockPos
a(gt arg0, coh arg1, cpw 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)
m_qdmgtvww(C_hynzadkk arg0, C_qomzaqud arg1, C_mboglirk arg2, int arg3, int arg4)
applyTransformedOffset(BlockPos pos, BlockMirror mirror, BlockRotation rotation, int offsetX, int offsetZ)
applyTransformedOffset(BlockPos pos, BlockMirror mirror, BlockRotation rotation, int offsetX, int offsetZ)
m_74587_(C_4675_ p_74588_, C_1838_ p_74589_, C_1886_ p_74590_, int p_74591_, int p_74592_)
public BoundingBox
b(dop arg0, gt arg1)
getBoundingBox(StructurePlaceSettings arg0, BlockPos arg1)
method_16187(class_3492 arg0, class_2338 arg1)
m_yxawjwdm(C_mhhynxof arg0, C_hynzadkk arg1)
calculateBoundingBox(StructurePlacementData placementData, BlockPos pos)
calculateBoundingBox(StructurePlacementData placementData, BlockPos pos)
m_74633_(C_2628_ p_74635_, C_4675_ arg1)
public BoundingBox
a(gt arg0, cpw arg1, gt arg2, coh arg3)
getBoundingBox(BlockPos arg0, Rotation arg1, BlockPos arg2, Mirror arg3)
method_27267(class_2338 arg0, class_2470 arg1, class_2338 arg2, class_2415 arg3)
m_hhelfgfj(C_hynzadkk arg0, C_mboglirk arg1, C_hynzadkk arg2, C_qomzaqud arg3)
calculateBoundingBox(BlockPos pos, BlockRotation rotation, BlockPos pivot, BlockMirror mirror)
calculateBoundingBox(BlockPos pos, BlockRotation rotation, BlockPos pivot, BlockMirror mirror)
m_74598_(C_4675_ p_74600_, C_1886_ p_74601_, C_4675_ p_74602_, C_1838_ arg3)
protected static BoundingBox
a(gt arg0, cpw arg1, gt arg2, coh arg3, hs 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)
m_xagigpdg(C_hynzadkk arg0, C_mboglirk arg1, C_hynzadkk arg2, C_qomzaqud arg3, C_ceivtqhh arg4)
createBox(BlockPos pos, BlockRotation rotation, BlockPos pivot, BlockMirror mirror, Vec3i dimensions)
createBox(BlockPos pos, BlockRotation rotation, BlockPos pivot, BlockMirror mirror, Vec3i dimensions)
m_163810_(C_4675_ p_163811_, C_1886_ p_163812_, C_4675_ p_163813_, C_1838_ p_163814_, C_4713_ p_163815_)
public CompoundTag
a(pj arg0)
save(CompoundTag arg0)
method_15175(class_2487 arg0)
m_fnotvttv(C_hhlwcnih arg0)
writeNbt(NbtCompound nbt)
writeNbt(NbtCompound nbt)
m_74618_(C_4917_ arg0)
public void
b(pj arg0)
load(CompoundTag arg0)
method_15183(class_2487 arg0)
m_hmoqokkq(C_hhlwcnih arg0)
readNbt(NbtCompound nbt)
readNbt(NbtCompound nbt)
m_74638_(C_4917_ arg0)
private void
a(pp arg0, pp arg1)
loadPalette(ListTag arg0, ListTag arg1)
method_15177(class_2499 arg0, class_2499 arg1)
m_kooxtyzq(C_hqhtfwlr arg0, C_hqhtfwlr arg1)
loadPalettedBlockInfo(NbtList paletteNbt, NbtList blocksNbt)
loadPalettedBlockInfo(NbtList paletteNbt, NbtList blocksNbt)
m_74620_(C_4930_ p_74622_, C_4930_ arg1)
private ListTag
a(int... arg0)
newIntegerList(int... arg0)
method_15169(int... arg0)
m_ldgwqdiv(int... arg0)
createNbtIntList(int... ints)
createNbtIntList(int... ints)
m_74625_(int... arg0)
private ListTag
a(double... arg0)
newDoubleList(double... arg0)
method_15184(double... arg0)
m_cimaglbn(double... arg0)
createNbtDoubleList(double... doubles)
createNbtDoubleList(double... doubles)
m_74623_(double... arg0)