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

public class StructureTemplate

erp
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(dgj arg0, ji arg1, km arg2, boolean arg3, djn 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(erp$d arg0, List<erp$d> arg1, List<erp$d> arg2, List<erp$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<erp$d> arg0, List<erp$d> arg1, List<erp$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(dgj arg0, ji arg1, ji 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(ji arg0, erl arg1, djn 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(ji arg0, dqf 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(ji arg0, erl arg1, djn 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(erl arg0, ji arg1, erl arg2, ji 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(erl arg0, ji arg1)
calculateRelativePosition(StructurePlaceSettings arg0, BlockPos arg1)
method_15171(class_3492 arg0, class_2338 arg1)
transform(StructurePlacementData placementData, BlockPos pos)
public boolean
a(dha arg0, ji arg1, ji arg2, erl arg3, azh 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(dgk arg0, int arg1, fbk arg2, ji 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(dgk arg0, int arg1, fbk 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(dha arg0, ji arg1, ji arg2, erl arg3, List<erp$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(dha arg0, ji arg1, dom arg2, dqf arg3, ji arg4, enf 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(dha arg0, tq arg1)
createEntityIgnoreException(ServerLevelAccessor arg0, CompoundTag arg1)
method_17916(class_5425 arg0, class_2487 arg1)
getEntity(ServerWorldAccess world, NbtCompound nbt)
public Vec3i
a(dqf arg0)
getSize(Rotation arg0)
method_15166(class_2470 arg0)
getRotatedSize(BlockRotation rotation)
public static BlockPos
a(ji arg0, dom arg1, dqf arg2, ji 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(fbb arg0, dom arg1, dqf arg2, ji 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(ji arg0, dom arg1, dqf 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(ji arg0, dom arg1, dqf 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(erl arg0, ji arg1)
getBoundingBox(StructurePlaceSettings arg0, BlockPos arg1)
method_16187(class_3492 arg0, class_2338 arg1)
calculateBoundingBox(StructurePlacementData placementData, BlockPos pos)
public BoundingBox
a(ji arg0, dqf arg1, ji arg2, dom 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(ji arg0, dqf arg1, ji arg2, dom arg3, km 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(tq arg0)
save(CompoundTag arg0)
method_15175(class_2487 arg0)
writeNbt(NbtCompound nbt)
public void
a(js<djn> arg0, tq 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(js<djn> arg0, tw arg1, tw 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(tq arg0, dwy arg1)
getJointType(CompoundTag arg0, BlockState arg1)
method_64823(class_2487 arg0, class_2680 arg1)
readJoint(NbtCompound nbt, BlockState state)