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

public class StructureTemplate

csy
net.minecraft.world.level.levelgen.structure.templatesystem.StructureTemplate
net.minecraft.class_3499
net.minecraft.structure.Structure
net.minecraft.world.gen.feature.template.Template
net.minecraft.server.v1_16_R2.DefinedStructure

Field summary

Modifier and TypeField
private final List<StructureTemplate$Palette>
a
palettes
field_15586
blockInfoLists
field_204769_a
private final List<StructureTemplate$StructureEntityInfo>
b
entityInfoList
field_15589
entities
field_186271_b
private BlockPos
c
size
field_15587
size
field_186272_c
private String
d
author
field_15588
author
field_186273_d

Constructor summary

ModifierConstructor
public ()

Method summary

Modifier and TypeMethod
public BlockPos
a()
getSize()
method_15160()
getSize()
func_186259_a()
public void
a(String arg0)
setAuthor(String arg0)
method_15161(String arg0)
setAuthor(String name)
func_186252_a(String arg0)
public String
b()
getAuthor()
method_15181()
getAuthor()
func_186261_b()
public void
a(bru arg0, fx arg1, fx arg2, boolean arg3, bul arg4)
fillFromWorld(Level arg0, BlockPos arg1, BlockPos arg2, boolean arg3, Block arg4)
method_15174(class_1937 arg0, class_2338 arg1, class_2338 arg2, boolean arg3, class_2248 arg4)
saveFromWorld(World world, BlockPos start, BlockPos size, boolean includeEntities, Block ignoredBlock)
func_186254_a(World arg0, BlockPos arg1, BlockPos arg2, boolean arg3, Block arg4)
private static void
a(csy$c arg0, List<csy$c> arg1, List<csy$c> arg2, List<csy$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)
method_28054(Structure$StructureBlockInfo arg0, List<Structure$StructureBlockInfo> arg1, List<Structure$StructureBlockInfo> arg2, List<Structure$StructureBlockInfo> arg3)
func_237149_a_(Template$BlockInfo arg0, List<Template$BlockInfo> arg1, List<Template$BlockInfo> arg2, List<Template$BlockInfo> arg3)
private static List<StructureTemplate$StructureBlockInfo>
a(List<csy$c> arg0, List<csy$c> arg1, List<csy$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)
method_28055(List<Structure$StructureBlockInfo> arg0, List<Structure$StructureBlockInfo> arg1, List<Structure$StructureBlockInfo> arg2)
func_237151_a_(List<Template$BlockInfo> arg0, List<Template$BlockInfo> arg1, List<Template$BlockInfo> arg2)
private void
a(bru arg0, fx arg1, fx 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)
func_186255_a(World arg0, BlockPos arg1, BlockPos arg2)
public List<StructureTemplate$StructureBlockInfo>
a(fx arg0, csu arg1, bul 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)
func_215381_a(BlockPos arg0, PlacementSettings arg1, Block arg2)
public List<StructureTemplate$StructureBlockInfo>
a(fx arg0, csu arg1, bul 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)
func_215386_a(BlockPos arg0, PlacementSettings arg1, Block arg2, boolean arg3)
public BlockPos
a(csu arg0, fx arg1, csu arg2, fx 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)
func_186262_a(PlacementSettings arg0, BlockPos arg1, PlacementSettings arg2, BlockPos arg3)
public static BlockPos
a(csu arg0, fx arg1)
calculateRelativePosition(StructurePlaceSettings arg0, BlockPos arg1)
method_15171(class_3492 arg0, class_2338 arg1)
transform(StructurePlacementData placementData, BlockPos pos)
func_186266_a(PlacementSettings arg0, BlockPos arg1)
public void
a(bsh arg0, fx arg1, csu arg2, Random arg3)
placeInWorldChunk(ServerLevelAccessor arg0, BlockPos arg1, StructurePlaceSettings arg2, Random arg3)
method_15182(class_5425 arg0, class_2338 arg1, class_3492 arg2, Random arg3)
place(ServerWorldAccess arg0, BlockPos pos, StructurePlacementData placementData, Random arg3)
func_237144_a_(IServerWorld arg0, BlockPos arg1, PlacementSettings arg2, Random arg3)
public void
b(bsh arg0, fx arg1, csu arg2, Random arg3)
placeInWorld(ServerLevelAccessor arg0, BlockPos arg1, StructurePlaceSettings arg2, Random arg3)
method_15178(class_5425 arg0, class_2338 arg1, class_3492 arg2, Random arg3)
placeAndNotifyListeners(ServerWorldAccess arg0, BlockPos pos, StructurePlacementData data, Random arg3)
func_237152_b_(IServerWorld arg0, BlockPos arg1, PlacementSettings arg2, Random arg3)
public boolean
a(bsh arg0, fx arg1, fx arg2, csu arg3, Random arg4, int arg5)
placeInWorld(ServerLevelAccessor arg0, BlockPos arg1, BlockPos arg2, StructurePlaceSettings arg3, Random arg4, int arg5)
method_15172(class_5425 arg0, class_2338 arg1, class_2338 arg2, class_3492 arg3, Random arg4, int arg5)
place(ServerWorldAccess arg0, BlockPos pos, BlockPos arg2, StructurePlacementData placementData, Random arg4, int arg5)
func_237146_a_(IServerWorld arg0, BlockPos arg1, BlockPos arg2, PlacementSettings arg3, Random arg4, int arg5)
public static void
a(brv arg0, int arg1, dct 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 arg2, int startX, int startY, int startZ)
func_222857_a(IWorld arg0, int arg1, VoxelShapePart arg2, int arg3, int arg4, int arg5)
public static List<StructureTemplate$StructureBlockInfo>
a(brv arg0, fx arg1, fx arg2, csu arg3, List<csy$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)
process(WorldAccess world, BlockPos pos, BlockPos arg2, StructurePlacementData arg3, List<Structure$StructureBlockInfo> arg4)
func_237145_a_(IWorld arg0, BlockPos arg1, BlockPos arg2, PlacementSettings arg3, List<Template$BlockInfo> arg4)
private void
a(bsh arg0, fx arg1, byd arg2, bzj arg3, fx arg4, cqx 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 arg0, BlockPos pos, BlockMirror arg2, BlockRotation arg3, BlockPos pivot, BlockBox area, boolean arg6)
func_237143_a_(IServerWorld arg0, BlockPos arg1, Mirror arg2, Rotation arg3, BlockPos arg4, MutableBoundingBox arg5, boolean arg6)
private static Optional<Entity>
a(bsh arg0, md arg1)
createEntityIgnoreException(ServerLevelAccessor arg0, CompoundTag arg1)
method_17916(class_5425 arg0, class_2487 arg1)
getEntity(ServerWorldAccess arg0, CompoundTag arg1)
func_215382_a(IServerWorld arg0, CompoundNBT arg1)
public BlockPos
a(bzj arg0)
getSize(Rotation arg0)
method_15166(class_2470 arg0)
getRotatedSize(BlockRotation arg0)
func_186257_a(Rotation arg0)
public static BlockPos
a(fx arg0, byd arg1, bzj arg2, fx 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 arg1, BlockRotation arg2, BlockPos pivot)
func_207669_a(BlockPos arg0, Mirror arg1, Rotation arg2, BlockPos arg3)
public static Vec3
a(dck arg0, byd arg1, bzj arg2, fx 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 arg1, BlockRotation arg2, BlockPos pivot)
func_207667_a(Vector3d arg0, Mirror arg1, Rotation arg2, BlockPos arg3)
public BlockPos
a(fx arg0, byd arg1, bzj arg2)
getZeroPositionWithTransform(BlockPos arg0, Mirror arg1, Rotation arg2)
method_15167(class_2338 arg0, class_2415 arg1, class_2470 arg2)
offsetByTransformedSize(BlockPos arg0, BlockMirror arg1, BlockRotation arg2)
func_189961_a(BlockPos arg0, Mirror arg1, Rotation arg2)
public static BlockPos
a(fx arg0, byd arg1, bzj 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 arg0, BlockMirror arg1, BlockRotation arg2, int offsetX, int offsetZ)
func_191157_a(BlockPos arg0, Mirror arg1, Rotation arg2, int arg3, int arg4)
public BoundingBox
b(csu arg0, fx arg1)
getBoundingBox(StructurePlaceSettings arg0, BlockPos arg1)
method_16187(class_3492 arg0, class_2338 arg1)
calculateBoundingBox(StructurePlacementData arg0, BlockPos pos)
func_215388_b(PlacementSettings arg0, BlockPos arg1)
public BoundingBox
a(fx arg0, bzj arg1, fx arg2, byd arg3)
getBoundingBox(BlockPos arg0, Rotation arg1, BlockPos arg2, Mirror arg3)
method_27267(class_2338 arg0, class_2470 arg1, class_2338 arg2, class_2415 arg3)
method_27267(BlockPos arg0, BlockRotation arg1, BlockPos arg2, BlockMirror arg3)
func_237150_a_(BlockPos arg0, Rotation arg1, BlockPos arg2, Mirror arg3)
private void
a(bzj arg0, int arg1, int arg2, cqx arg3, gc arg4, gc arg5)
mirrorAABB(Rotation arg0, int arg1, int arg2, BoundingBox arg3, Direction arg4, Direction arg5)
method_16186(class_2470 arg0, int arg1, int arg2, class_3341 arg3, class_2350 arg4, class_2350 arg5)
mirrorBoundingBox(BlockRotation rotation, int offsetX, int offsetZ, BlockBox boundingBox, Direction arg4, Direction arg5)
func_215385_a(Rotation arg0, int arg1, int arg2, MutableBoundingBox arg3, Direction arg4, Direction arg5)
public CompoundTag
a(md arg0)
save(CompoundTag arg0)
method_15175(class_2487 arg0)
toTag(CompoundTag tag)
func_189552_a(CompoundNBT arg0)
public void
b(md arg0)
load(CompoundTag arg0)
method_15183(class_2487 arg0)
fromTag(CompoundTag tag)
func_186256_b(CompoundNBT arg0)
private void
a(mj arg0, mj arg1)
loadPalette(ListTag arg0, ListTag arg1)
method_15177(class_2499 arg0, class_2499 arg1)
loadPalettedBlockInfo(ListTag paletteTag, ListTag blocksTag)
func_204768_a(ListNBT arg0, ListNBT arg1)
private ListTag
a(int... arg0)
newIntegerList(int... arg0)
method_15169(int... arg0)
createIntListTag(int... arg0)
func_186267_a(int... arg0)
private ListTag
a(double... arg0)
newDoubleList(double... arg0)
method_15184(double... arg0)
createDoubleListTag(double... arg0)
func_186264_a(double... arg0)