net.minecraft.gametest.framework

public class StructureUtils

ue
net.minecraft.gametest.framework.StructureUtils
net.minecraft.class_4525
net.minecraft.unmapped.C_jhjabajs
net.minecraft.test.StructureTestUtil
net.minecraft.test.StructureTestUtil
net.minecraft.src.C_4900_
net.minecraft.gametest.framework.GameTestHarnessStructures

Field summary

Modifier and TypeField
private static final org.slf4j.Logger
d
LOGGER
field_27813
f_hhveefcu
LOGGER
LOGGER
f_177742_
public static final int
a
DEFAULT_Y_SEARCH_RADIUS
field_51468
f_ijkuritx
field_51468
f_316717_
public static final String
b
DEFAULT_TEST_STRUCTURES_DIR
field_33173
f_hincrhei
TEST_STRUCTURES_DIRECTORY_NAME
DEFAULT_TEST_STRUCTURES_DIRECTORY_NAME
f_177741_
public static String
c
testStructuresDir
field_20579
f_nqmecbog
testStructuresDirectoryName
testStructuresDirectoryName
f_127833_

Constructor summary

ModifierConstructor
public ()

Method summary

Modifier and TypeMethod
public static Rotation
a(int arg0)
getRotationForRotationSteps(int arg0)
method_29408(int arg0)
m_tnzyasvm(int arg0)
getRotation(int steps)
getRotation(int steps)
m_127835_(int p_127836_)
public static int
a(dlo arg0)
getRotationStepsForRotation(Rotation arg0)
method_36105(class_2470 arg0)
m_qlvkhvqy(C_mboglirk arg0)
getRotationSteps(BlockRotation rotation)
getRotationSteps(BlockRotation rotation)
m_177751_(C_1886_ p_177752_)
public static AABB
a(dqy arg0)
getStructureBounds(StructureBlockEntity arg0)
method_22242(class_2633 arg0)
m_mpfccljp(C_bfrzytnu arg0)
getStructureBoundingBox(StructureBlockBlockEntity structureBlockEntity)
getStructureBoundingBox(StructureBlockBlockEntity structureBlockEntity)
m_127847_(C_2029_ p_127848_)
public static BoundingBox
b(dqy arg0)
getStructureBoundingBox(StructureBlockEntity arg0)
method_29410(class_2633 arg0)
m_qsxgsmrf(C_bfrzytnu arg0)
getStructureBlockBox(StructureBlockBlockEntity structureBlockEntity)
getStructureBlockBox(StructureBlockBlockEntity structureBlockEntity)
m_127904_(C_2029_ p_127905_)
public static BlockPos
c(dqy arg0)
getStructureOrigin(StructureBlockEntity arg0)
method_54849(class_2633 arg0)
m_tlyfgurs(C_bfrzytnu arg0)
getStructureBlockPos(StructureBlockBlockEntity structureBlockEntity)
getStructureOrigin(StructureBlockBlockEntity structureBlockEntity)
m_304927_(C_2029_ p_311311_)
public static void
a(iz arg0, iz arg1, dlo arg2, arf arg3)
addCommandBlockAndButtonToStartTest(BlockPos arg0, BlockPos arg1, Rotation arg2, ServerLevel arg3)
method_22248(class_2338 arg0, class_2338 arg1, class_2470 arg2, class_3218 arg3)
m_czujtiby(C_hynzadkk arg0, C_hynzadkk arg1, C_mboglirk arg2, C_bdwnwhiu arg3)
placeStartButton(BlockPos pos, BlockPos relativePos, BlockRotation rotation, ServerWorld world)
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, iz arg1, kd arg2, dlo arg3, arf 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)
m_zxjrskbu(String arg0, C_hynzadkk arg1, C_ceivtqhh arg2, C_mboglirk arg3, C_bdwnwhiu arg4)
createTestArea(String testName, BlockPos pos, Vec3i relativePos, BlockRotation rotation, ServerWorld world)
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(to arg0, iz arg1, dlo arg2, arf arg3)
prepareTestStructure(GameTestInfo arg0, BlockPos arg1, Rotation arg2, ServerLevel arg3)
method_54903(class_4517 arg0, class_2338 arg1, class_2470 arg2, class_3218 arg3)
m_isgehrlz(C_agwojffm arg0, C_hynzadkk arg1, C_mboglirk arg2, C_bdwnwhiu arg3)
initStructure(GameTestState state, BlockPos pos, BlockRotation rotation, ServerWorld world)
prepareTestStructure(GameTestState test, BlockPos pos, BlockRotation rotation, ServerWorld world)
m_305479_(C_4889_ p_311701_, C_4675_ p_311042_, C_1886_ p_310584_, C_12_ p_312330_)
public static void
a(evo arg0, arf arg1, boolean arg2)
encaseStructure(AABB arg0, ServerLevel arg1, boolean arg2)
method_57102(class_238 arg0, class_3218 arg1, boolean arg2)
m_sznuptge(C_hbcjzgoe arg0, C_bdwnwhiu arg1, boolean arg2)
placeBarrierBox(Box box, ServerWorld world, boolean noSkyAccess)
m_sznuptge(Box arg0, ServerWorld world, boolean arg2)
m_320357_(C_3040_ p_330422_, C_12_ p_331249_, boolean p_328180_)
public static void
a(evo arg0, arf arg1)
removeBarriers(AABB arg0, ServerLevel arg1)
method_57101(class_238 arg0, class_3218 arg1)
m_iwezmxys(C_hbcjzgoe arg0, C_bdwnwhiu arg1)
clearBarrierBox(Box box, ServerWorld world)
m_iwezmxys(Box arg0, ServerWorld world)
m_319541_(C_3040_ p_336061_, C_12_ p_334551_)
private static void
b(eie arg0, arf arg1)
forceLoadChunks(BoundingBox arg0, ServerLevel arg1)
method_22256(class_3341 arg0, class_3218 arg1)
m_fibkaiuj(C_hmqypqzz arg0, C_bdwnwhiu arg1)
forceLoadNearbyChunks(BlockBox box, ServerWorld world)
forceLoadChunks(BlockBox box, ServerWorld world)
m_127857_(C_2478_ p_312219_, C_12_ p_127859_)
public static void
a(eie arg0, arf arg1)
clearSpaceForStructure(BoundingBox arg0, ServerLevel arg1)
method_22246(class_3341 arg0, class_3218 arg1)
m_tqzalhwj(C_hmqypqzz arg0, C_bdwnwhiu arg1)
clearArea(BlockBox area, ServerWorld world)
clearArea(BlockBox area, ServerWorld world)
m_127849_(C_2478_ p_127850_, C_12_ p_127852_)
public static BlockPos
a(iz arg0, kd arg1, dlo arg2)
getTransformedFarCorner(BlockPos arg0, Vec3i arg1, Rotation arg2)
method_54847(class_2338 arg0, class_2382 arg1, class_2470 arg2)
m_tycnvynt(C_hynzadkk arg0, C_ceivtqhh arg1, C_mboglirk arg2)
getStructureBlockBoxCornerPos(BlockPos pos, Vec3i size, BlockRotation rotation)
getTransformedCorner(BlockPos pos, Vec3i relativePos, BlockRotation rotation)
m_305507_(C_4675_ p_310098_, C_4713_ p_312132_, C_1886_ p_309587_)
public static BoundingBox
b(iz arg0, kd arg1, dlo arg2)
getStructureBoundingBox(BlockPos arg0, Vec3i arg1, Rotation arg2)
method_29409(class_2338 arg0, class_2382 arg1, class_2470 arg2)
m_eetljsro(C_hynzadkk arg0, C_ceivtqhh arg1, C_mboglirk arg2)
getStructureBlockBox(BlockPos pos, Vec3i relativePos, BlockRotation rotation)
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(iz arg0, int arg1, arf arg2)
findStructureBlockContainingPos(BlockPos arg0, int arg1, ServerLevel arg2)
method_22244(class_2338 arg0, int arg1, class_3218 arg2)
m_sthzqycx(C_hynzadkk arg0, int arg1, C_bdwnwhiu arg2)
findContainingStructureBlock(BlockPos pos, int radius, ServerWorld world)
findContainingStructureBlock(BlockPos pos, int radius, ServerWorld world)
m_127853_(C_4675_ p_127854_, int p_127855_, C_12_ p_127856_)
public static Optional<BlockPos>
b(iz arg0, int arg1, arf arg2)
findNearestStructureBlock(BlockPos arg0, int arg1, ServerLevel arg2)
method_22255(class_2338 arg0, int arg1, class_3218 arg2)
m_rvhqrqbj(C_hynzadkk arg0, int arg1, C_bdwnwhiu arg2)
findNearestStructureBlock(BlockPos pos, int radius, ServerWorld world)
findNearestStructureBlock(BlockPos pos, int radius, ServerWorld world)
m_127906_(C_4675_ p_127907_, int p_127908_, C_12_ p_127909_)
public static Stream<BlockPos>
a(iz arg0, int arg1, arf arg2, String arg3)
findStructureByTestFunction(BlockPos arg0, int arg1, ServerLevel arg2, String arg3)
method_59782(class_2338 arg0, int arg1, class_3218 arg2, String arg3)
m_drrhqdiv(C_hynzadkk arg0, int arg1, C_bdwnwhiu arg2, String arg3)
findStructureBlocks(BlockPos pos, int radius, ServerWorld world, String templateName)
m_drrhqdiv(BlockPos pos, int radius, ServerWorld world, String arg3)
m_322152_(C_4675_ p_333272_, int p_332388_, C_12_ p_333747_, String p_332891_)
public static Stream<BlockPos>
c(iz arg0, int arg1, arf arg2)
findStructureBlocks(BlockPos arg0, int arg1, ServerLevel arg2)
method_22258(class_2338 arg0, int arg1, class_3218 arg2)
m_yxgebiyr(C_hynzadkk arg0, int arg1, C_bdwnwhiu arg2)
findStructureBlocks(BlockPos pos, int radius, ServerWorld world)
findStructureBlocks(BlockPos pos, int radius, ServerWorld world)
m_127910_(C_4675_ p_127911_, int p_127912_, C_12_ p_127913_)
private static StructureBlockEntity
b(to arg0, iz arg1, dlo arg2, arf arg3)
createStructureBlock(GameTestInfo arg0, BlockPos arg1, Rotation arg2, ServerLevel arg3)
method_22252(class_4517 arg0, class_2338 arg1, class_2470 arg2, class_3218 arg3)
m_abucopsg(C_agwojffm arg0, C_hynzadkk arg1, C_mboglirk arg2, C_bdwnwhiu arg3)
placeStructureTemplate(GameTestState state, BlockPos pos, BlockRotation rotation, ServerWorld world)
placeStructure(GameTestState test, BlockPos pos, BlockRotation rotation, ServerWorld world)
m_127890_(C_4889_ p_309598_, C_4675_ p_127892_, C_1886_ p_127893_, C_12_ p_127894_)
private static BoundingBox
d(iz arg0, int arg1, arf arg2)
getBoundingBoxAtGround(BlockPos arg0, int arg1, ServerLevel arg2)
method_59785(class_2338 arg0, int arg1, class_3218 arg2)
m_bqxeosep(C_hynzadkk arg0, int arg1, C_bdwnwhiu arg2)
createBox(BlockPos pos, int radius, ServerWorld world)
m_bqxeosep(BlockPos pos, int arg1, ServerWorld world)
m_319242_(C_4675_ p_329849_, int p_332427_, C_12_ p_328726_)
public static Stream<BlockPos>
a(iz arg0, bsw arg1, arf arg2)
lookedAtStructureBlockPos(BlockPos arg0, Entity arg1, ServerLevel arg2)
method_56252(class_2338 arg0, class_1297 arg1, class_3218 arg2)
m_iohyikyb(C_hynzadkk arg0, C_astfners arg1, C_bdwnwhiu arg2)
findTargetedStructureBlock(BlockPos pos, Entity entity, ServerWorld world)
m_iohyikyb(BlockPos pos, Entity arg1, ServerWorld world)
m_320514_(C_4675_ p_333762_, C_507_ p_333965_, C_12_ p_336162_)
private static void
a(int arg0, iz arg1, arf arg2)
clearBlock(int arg0, BlockPos arg1, ServerLevel arg2)
method_22368(int arg0, class_2338 arg1, class_3218 arg2)
m_txvqhqqx(int arg0, C_hynzadkk arg1, C_bdwnwhiu arg2)
resetBlock(int altitude, BlockPos pos, ServerWorld world)
resetBlock(int altitude, BlockPos pos, ServerWorld world)
m_127841_(int p_127842_, C_4675_ p_127843_, C_12_ p_127844_)
private static boolean
a(iz arg0, iz arg1, arf arg2)
doesStructureContain(BlockPos arg0, BlockPos arg1, ServerLevel arg2)
method_22247(class_2338 arg0, class_2338 arg1, class_3218 arg2)
m_ofozplxp(C_hynzadkk arg0, C_hynzadkk arg1, C_bdwnwhiu arg2)
isInStructureBounds(BlockPos structureBlockPos, BlockPos pos, ServerWorld world)
isInStructureBounds(BlockPos structureBlockPos, BlockPos pos, ServerWorld world)
m_127867_(C_4675_ p_127868_, C_4675_ p_127869_, C_12_ p_127870_)