net.minecraft.gametest.framework

public class StructureUtils

lq
net.minecraft.gametest.framework.StructureUtils
net.minecraft.class_4525
net.minecraft.test.StructureTestUtil
net.minecraft.test.StructureHelper
net.minecraft.server.v1_16_R2.GameTestHarnessStructures

Field summary

Modifier and TypeField
public static String
a
testStructuresDir
field_20579
testStructuresDirectoryName
field_229590_a_

Method summary

Modifier and TypeMethod
public static Rotation
a(int arg0)
getRotationForRotationSteps(int arg0)
method_29408(int arg0)
method_29408(int arg0)
func_240562_a_(int arg0)
public static AABB
a(cdg arg0)
getStructureBounds(StructureBlockEntity arg0)
method_22242(class_2633 arg0)
getStructureBoundingBox(StructureBlockBlockEntity structureBlockEntity)
func_229594_a_(StructureBlockTileEntity arg0)
public static BoundingBox
b(cdg arg0)
getStructureBoundingBox(StructureBlockEntity arg0)
method_29410(class_2633 arg0)
method_29410(StructureBlockBlockEntity arg0)
func_240568_b_(StructureBlockTileEntity arg0)
public static void
a(fx arg0, fx arg1, bzj arg2, aag arg3)
addCommandBlockAndButtonToStartTest(BlockPos arg0, BlockPos arg1, Rotation arg2, ServerLevel arg3)
method_22248(class_2338 arg0, class_2338 arg1, class_2470 arg2, class_3218 arg3)
placeStartButton(BlockPos arg0, BlockPos arg1, BlockRotation arg2, ServerWorld arg3)
func_240564_a_(BlockPos arg0, BlockPos arg1, Rotation arg2, ServerWorld arg3)
public static void
a(String arg0, fx arg1, fx arg2, bzj arg3, aag arg4)
createNewEmptyStructureBlock(String arg0, BlockPos arg1, BlockPos arg2, Rotation arg3, ServerLevel arg4)
method_22251(String arg0, class_2338 arg1, class_2338 arg2, class_2470 arg3, class_3218 arg4)
createTestArea(String structure, BlockPos pos, BlockPos size, BlockRotation arg3, ServerWorld world)
func_229603_a_(String arg0, BlockPos arg1, BlockPos arg2, Rotation arg3, ServerWorld arg4)
public static StructureBlockEntity
a(String arg0, fx arg1, bzj arg2, int arg3, aag arg4, boolean arg5)
spawnStructure(String arg0, BlockPos arg1, Rotation arg2, int arg3, ServerLevel arg4, boolean arg5)
method_22250(String arg0, class_2338 arg1, class_2470 arg2, int arg3, class_3218 arg4, boolean arg5)
method_22250(String arg0, BlockPos arg1, BlockRotation arg2, int arg3, ServerWorld arg4, boolean arg5)
func_240565_a_(String arg0, BlockPos arg1, Rotation arg2, int arg3, ServerWorld arg4, boolean arg5)
private static void
a(fx arg0, aag arg1)
forceLoadChunks(BlockPos arg0, ServerLevel arg1)
method_22256(class_2338 arg0, class_3218 arg1)
forceLoadNearbyChunks(BlockPos pos, ServerWorld world)
func_229608_b_(BlockPos arg0, ServerWorld arg1)
public static void
a(cqx arg0, int arg1, aag arg2)
clearSpaceForStructure(BoundingBox arg0, int arg1, ServerLevel arg2)
method_22246(class_3341 arg0, int arg1, class_3218 arg2)
clearArea(BlockBox area, int arg1, ServerWorld world)
func_229595_a_(MutableBoundingBox arg0, int arg1, ServerWorld arg2)
public static BoundingBox
a(fx arg0, fx arg1, bzj arg2)
getStructureBoundingBox(BlockPos arg0, BlockPos arg1, Rotation arg2)
method_29409(class_2338 arg0, class_2338 arg1, class_2470 arg2)
method_29409(BlockPos arg0, BlockPos arg1, BlockRotation arg2)
func_229598_a_(BlockPos arg0, BlockPos arg1, Rotation arg2)
public static Optional<BlockPos>
a(fx arg0, int arg1, aag arg2)
findStructureBlockContainingPos(BlockPos arg0, int arg1, ServerLevel arg2)
method_22244(class_2338 arg0, int arg1, class_3218 arg2)
findContainingStructureBlock(BlockPos pos, int radius, ServerWorld world)
func_229596_a_(BlockPos arg0, int arg1, ServerWorld arg2)
public static BlockPos
b(fx arg0, int arg1, aag arg2)
findNearestStructureBlock(BlockPos arg0, int arg1, ServerLevel arg2)
method_22255(class_2338 arg0, int arg1, class_3218 arg2)
findNearestStructureBlock(BlockPos pos, int radius, ServerWorld world)
func_229607_b_(BlockPos arg0, int arg1, ServerWorld arg2)
public static Collection<BlockPos>
c(fx arg0, int arg1, aag arg2)
findStructureBlocks(BlockPos arg0, int arg1, ServerLevel arg2)
method_22258(class_2338 arg0, int arg1, class_3218 arg2)
findStructureBlocks(BlockPos pos, int radius, ServerWorld world)
func_229609_c_(BlockPos arg0, int arg1, ServerWorld arg2)
private static StructureTemplate
a(String arg0, aag arg1)
getStructureTemplate(String arg0, ServerLevel arg1)
method_22369(String arg0, class_3218 arg1)
createStructure(String structureId, ServerWorld world)
func_229605_a_(String arg0, ServerWorld arg1)
private static StructureBlockEntity
a(String arg0, fx arg1, bzj arg2, aag arg3, boolean arg4)
createStructureBlock(String arg0, BlockPos arg1, Rotation arg2, ServerLevel arg3, boolean arg4)
method_22252(String arg0, class_2338 arg1, class_2470 arg2, class_3218 arg3, boolean arg4)
placeStructure(String name, BlockPos pos, BlockRotation arg2, ServerWorld arg3, boolean arg4)
func_240566_a_(String arg0, BlockPos arg1, Rotation arg2, ServerWorld arg3, boolean arg4)
private static CompoundTag
a(Path arg0)
tryLoadStructure(Path arg0)
method_22253(Path arg0)
loadSnbt(Path path)
func_229606_a_(Path arg0)
private static void
a(int arg0, fx arg1, aag arg2)
clearBlock(int arg0, BlockPos arg1, ServerLevel arg2)
method_22368(int arg0, class_2338 arg1, class_3218 arg2)
method_22368(int altitude, BlockPos pos, ServerWorld world)
func_229591_a_(int arg0, BlockPos arg1, ServerWorld arg2)
private static boolean
a(fx arg0, fx arg1, aag arg2)
doesStructureContain(BlockPos arg0, BlockPos arg1, ServerLevel arg2)
method_22247(class_2338 arg0, class_2338 arg1, class_3218 arg2)
isInStructureBounds(BlockPos structureBlockPos, BlockPos pos, ServerWorld world)
func_229599_a_(BlockPos arg0, BlockPos arg1, ServerWorld arg2)