net.minecraft.gametest.framework

public class StructureUtils

th
net.minecraft.gametest.framework.StructureUtils
net.minecraft.class_4525
net.minecraft.test.TestInstanceUtil

Field summary

Modifier and TypeField
public static final int
a
DEFAULT_Y_SEARCH_RADIUS
field_51468
field_51468
public static final String
b
DEFAULT_TEST_STRUCTURES_DIR
field_33173
TEST_STRUCTURES_DIRECTORY_NAME
public static Path
c
testStructuresDir
field_20579
testStructuresDirectoryName

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)
public static int
a(dsm arg0)
getRotationStepsForRotation(Rotation arg0)
method_36105(class_2470 arg0)
getRotationSteps(BlockRotation rotation)
public static TestInstanceBlockEntity
a(ale arg0, iu arg1, jz arg2, dsm arg3, aro arg4)
createNewEmptyTest(ResourceLocation arg0, BlockPos arg1, Vec3i arg2, Rotation arg3, ServerLevel arg4)
method_66992(class_2960 arg0, class_2338 arg1, class_2382 arg2, class_2470 arg3, class_3218 arg4)
createTestInstanceBlockEntity(Identifier testInstanceId, BlockPos pos, Vec3i size, BlockRotation rotation, ServerWorld world)
public static void
a(eqa arg0, aro arg1)
clearSpaceForStructure(BoundingBox arg0, ServerLevel arg1)
method_22246(class_3341 arg0, class_3218 arg1)
clearArea(BlockBox area, ServerWorld world)
public static BlockPos
a(iu arg0, jz arg1, dsm arg2)
getTransformedFarCorner(BlockPos arg0, Vec3i arg1, Rotation arg2)
method_54847(class_2338 arg0, class_2382 arg1, class_2470 arg2)
getTestInstanceBlockBoxCornerPos(BlockPos pos, Vec3i size, BlockRotation rotation)
public static BoundingBox
b(iu arg0, jz arg1, dsm arg2)
getStructureBoundingBox(BlockPos arg0, Vec3i arg1, Rotation arg2)
method_29409(class_2338 arg0, class_2382 arg1, class_2470 arg2)
getTestInstanceBlockBox(BlockPos pos, Vec3i relativePos, BlockRotation rotation)
public static Optional<BlockPos>
a(iu arg0, int arg1, aro arg2)
findTestContainingPos(BlockPos arg0, int arg1, ServerLevel arg2)
method_22244(class_2338 arg0, int arg1, class_3218 arg2)
findContainingTestInstanceBlock(BlockPos pos, int radius, ServerWorld world)
public static Optional<BlockPos>
b(iu arg0, int arg1, aro arg2)
findNearestTest(BlockPos arg0, int arg1, ServerLevel arg2)
method_22255(class_2338 arg0, int arg1, class_3218 arg2)
findNearestTestInstanceBlock(BlockPos pos, int radius, ServerWorld world)
public static Stream<BlockPos>
c(iu arg0, int arg1, aro arg2)
findTestBlocks(BlockPos arg0, int arg1, ServerLevel arg2)
method_22258(class_2338 arg0, int arg1, class_3218 arg2)
findTestInstanceBlocks(BlockPos pos, int radius, ServerWorld world)
private static BoundingBox
d(iu arg0, int arg1, aro arg2)
getBoundingBoxAtGround(BlockPos arg0, int arg1, ServerLevel arg2)
method_59785(class_2338 arg0, int arg1, class_3218 arg2)
createBox(BlockPos pos, int radius, ServerWorld world)
public static Stream<BlockPos>
a(iu arg0, bwa arg1, aro arg2)
lookedAtTestPos(BlockPos arg0, Entity arg1, ServerLevel arg2)
method_56252(class_2338 arg0, class_1297 arg1, class_3218 arg2)
findTargetedTestInstanceBlock(BlockPos pos, Entity entity, ServerWorld world)
private static void
a(int arg0, iu arg1, aro 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)
private static boolean
a(iu arg0, iu arg1, aro arg2)
doesStructureContain(BlockPos arg0, BlockPos arg1, ServerLevel arg2)
method_22247(class_2338 arg0, class_2338 arg1, class_3218 arg2)
isInBounds(BlockPos testInstanceBlockPos, BlockPos pos, ServerWorld world)