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

public class StructureTemplate

ctb
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_R3.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(brx arg0, fx arg1, fx arg2, boolean arg3, buo 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(ctb$c arg0, List<ctb$c> arg1, List<ctb$c> arg2, List<ctb$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<ctb$c> arg0, List<ctb$c> arg1, List<ctb$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(brx 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, csx arg1, buo 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, csx arg1, buo 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(csx arg0, fx arg1, csx 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(csx 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(bsk arg0, fx arg1, csx 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(bsk arg0, fx arg1, csx 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(bsk arg0, fx arg1, fx arg2, csx 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 world, BlockPos pos, BlockPos arg2, StructurePlacementData placementData, Random random, int arg5)
func_237146_a_(IServerWorld arg0, BlockPos arg1, BlockPos arg2, PlacementSettings arg3, Random arg4, int arg5)
public static void
a(bry arg0, int arg1, dcw 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(bry arg0, fx arg1, fx arg2, csx arg3, List<ctb$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 placementData, List<Structure$StructureBlockInfo> arg4)
func_237145_a_(IWorld arg0, BlockPos arg1, BlockPos arg2, PlacementSettings arg3, List<Template$BlockInfo> arg4)
private void
a(bsk arg0, fx arg1, byg arg2, bzm arg3, fx arg4, cra 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 arg6)
func_237143_a_(IServerWorld arg0, BlockPos arg1, Mirror arg2, Rotation arg3, BlockPos arg4, MutableBoundingBox arg5, boolean arg6)
private static Optional<Entity>
a(bsk arg0, md arg1)
createEntityIgnoreException(ServerLevelAccessor arg0, CompoundTag arg1)
method_17916(class_5425 arg0, class_2487 arg1)
getEntity(ServerWorldAccess world, NbtCompound nbt)
func_215382_a(IServerWorld arg0, CompoundNBT arg1)
public BlockPos
a(bzm arg0)
getSize(Rotation arg0)
method_15166(class_2470 arg0)
getRotatedSize(BlockRotation arg0)
func_186257_a(Rotation arg0)
public static BlockPos
a(fx arg0, byg arg1, bzm 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 mirror, BlockRotation rotation, BlockPos pivot)
func_207669_a(BlockPos arg0, Mirror arg1, Rotation arg2, BlockPos arg3)
public static Vec3
a(dcn arg0, byg arg1, bzm 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 mirror, BlockRotation rotation, BlockPos pivot)
func_207667_a(Vector3d arg0, Mirror arg1, Rotation arg2, BlockPos arg3)
public BlockPos
a(fx arg0, byg arg1, bzm 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)
func_189961_a(BlockPos arg0, Mirror arg1, Rotation arg2)
public static BlockPos
a(fx arg0, byg arg1, bzm 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)
func_191157_a(BlockPos arg0, Mirror arg1, Rotation arg2, int arg3, int arg4)
public BoundingBox
b(csx arg0, fx arg1)
getBoundingBox(StructurePlaceSettings arg0, BlockPos arg1)
method_16187(class_3492 arg0, class_2338 arg1)
calculateBoundingBox(StructurePlacementData placementData, BlockPos pos)
func_215388_b(PlacementSettings arg0, BlockPos arg1)
public BoundingBox
a(fx arg0, bzm arg1, fx arg2, byg 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(bzm arg0, int arg1, int arg2, cra 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)
writeNbt(NbtCompound nbt)
func_189552_a(CompoundNBT arg0)
public void
b(md arg0)
load(CompoundTag arg0)
method_15183(class_2487 arg0)
readNbt(NbtCompound nbt)
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(NbtList paletteNbt, NbtList blocksNbt)
func_204768_a(ListNBT arg0, ListNBT arg1)
private ListTag
a(int... arg0)
newIntegerList(int... arg0)
method_15169(int... arg0)
createNbtIntList(int... ints)
func_186267_a(int... arg0)
private ListTag
a(double... arg0)
newDoubleList(double... arg0)
method_15184(double... arg0)
createNbtDoubleList(double... doubles)
func_186264_a(double... arg0)