net.minecraft.gametest.framework

public class StructureUtils

mn
net.minecraft.gametest.framework.StructureUtils
net.minecraft.class_4525
net.minecraft.test.StructureTestUtil
net.minecraft.src.C_4900_
net.minecraft.gametest.framework.GameTestHarnessStructures

Field summary

Modifier and TypeField
private static final org.apache.logging.log4j.Logger
c
LOGGER
field_27813
LOGGER
f_177742_
public static final String
a
DEFAULT_TEST_STRUCTURES_DIR
field_33173
field_33173
f_177741_
public static String
b
testStructuresDir
field_20579
testStructuresDirectoryName
f_127833_
private static final int
d
HOW_MANY_CHUNKS_TO_LOAD_IN_EACH_DIRECTION_OF_STRUCTURE
field_33174
field_33174
f_177743_

Constructor summary

ModifierConstructor
public ()

Method summary

Modifier and TypeMethod
public static Rotation
a(int arg0)
getRotationForRotationSteps(int arg0)
method_29408(int arg0)
getRotation(int steps)
m_127835_(int p_127836_)
public static int
a(cfk arg0)
getRotationStepsForRotation(Rotation arg0)
method_36105(class_2470 arg0)
getRotationSteps(BlockRotation rotation)
m_177751_(C_1886_ p_177752_)
public static void
a(String[] arg0)
main(String[] arg0)
method_36106(String[] arg0)
main(String[] args)
m_177770_(String[] p_177771_)
public static AABB
a(cjt arg0)
getStructureBounds(StructureBlockEntity arg0)
method_22242(class_2633 arg0)
getStructureBoundingBox(StructureBlockBlockEntity structureBlockEntity)
m_127847_(C_2029_ p_127848_)
public static BoundingBox
b(cjt arg0)
getStructureBoundingBox(StructureBlockEntity arg0)
method_29410(class_2633 arg0)
getStructureBlockBox(StructureBlockBlockEntity structureBlockEntity)
m_127904_(C_2029_ p_127905_)
public static void
a(gg arg0, gg arg1, cfk arg2, abr 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 pos, BlockPos relativePos, BlockRotation rotation, ServerWorld world)
m_127875_(C_4675_ p_127876_, C_4675_ p_127877_, C_1886_ p_127878_, C_12_ p_127879_)
public static void
a(String arg0, gg arg1, hb arg2, cfk arg3, abr arg4)
createNewEmptyStructureBlock(String arg0, BlockPos arg1, Vec3i arg2, Rotation arg3, ServerLevel arg4)
method_22251(String arg0, class_2338 arg1, class_2382 arg2, class_2470 arg3, class_3218 arg4)
createTestArea(String structure, BlockPos pos, Vec3i relativePos, BlockRotation rotation, ServerWorld world)
m_177764_(String p_177765_, C_4675_ p_177766_, C_4713_ p_177767_, C_1886_ p_177768_, C_12_ p_177769_)
public static StructureBlockEntity
a(String arg0, gg arg1, cfk arg2, int arg3, abr 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)
createStructure(String structureName, BlockPos pos, BlockRotation rotation, int arg3, ServerWorld world, boolean arg5)
m_127883_(String p_127884_, C_4675_ p_127885_, C_1886_ p_127886_, int p_127887_, C_12_ p_127888_, boolean p_127889_)
private static void
a(gg arg0, abr arg1)
forceLoadChunks(BlockPos arg0, ServerLevel arg1)
method_22256(class_2338 arg0, class_3218 arg1)
forceLoadNearbyChunks(BlockPos pos, ServerWorld world)
m_127857_(C_4675_ p_127858_, C_12_ p_127859_)
public static void
a(daq arg0, int arg1, abr arg2)
clearSpaceForStructure(BoundingBox arg0, int arg1, ServerLevel arg2)
method_22246(class_3341 arg0, int arg1, class_3218 arg2)
clearArea(BlockBox area, int altitude, ServerWorld world)
m_127849_(C_2478_ p_127850_, int p_127851_, C_12_ p_127852_)
public static BoundingBox
a(gg arg0, hb arg1, cfk arg2)
getStructureBoundingBox(BlockPos arg0, Vec3i arg1, Rotation arg2)
method_29409(class_2338 arg0, class_2382 arg1, class_2470 arg2)
getStructureBlockBox(BlockPos pos, Vec3i relativePos, BlockRotation rotation)
m_177760_(C_4675_ p_177761_, C_4713_ p_177762_, C_1886_ p_177763_)
public static Optional<BlockPos>
a(gg arg0, int arg1, abr 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)
m_127853_(C_4675_ p_127854_, int p_127855_, C_12_ p_127856_)
public static BlockPos
b(gg arg0, int arg1, abr 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)
m_127906_(C_4675_ p_127907_, int p_127908_, C_12_ p_127909_)
public static Collection<BlockPos>
c(gg arg0, int arg1, abr 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)
m_127910_(C_4675_ p_127911_, int p_127912_, C_12_ p_127913_)
private static StructureTemplate
a(String arg0, abr arg1)
getStructureTemplate(String arg0, ServerLevel arg1)
method_22369(String arg0, class_3218 arg1)
createStructure(String structureId, ServerWorld world)
m_127880_(String p_127881_, C_12_ p_127882_)
private static StructureBlockEntity
a(String arg0, gg arg1, cfk arg2, abr 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 rotation, ServerWorld world, boolean arg4)
m_127890_(String p_127891_, C_4675_ p_127892_, C_1886_ p_127893_, C_12_ p_127894_, boolean p_127895_)
private static CompoundTag
a(Path arg0)
tryLoadStructure(Path arg0)
method_22253(Path arg0)
loadSnbt(Path path)
m_127902_(Path p_127903_)
private static void
a(int arg0, gg arg1, abr arg2)
clearBlock(int arg0, BlockPos arg1, ServerLevel arg2)
method_22368(int arg0, class_2338 arg1, class_3218 arg2)
resetBlock(int altitude, BlockPos pos, ServerWorld world)
m_127841_(int p_127842_, C_4675_ p_127843_, C_12_ p_127844_)
private static boolean
a(gg arg0, gg arg1, abr 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)
m_127867_(C_4675_ p_127868_, C_4675_ p_127869_, C_12_ p_127870_)