net.minecraft.gametest.framework

public class StructureUtils

ui
net.minecraft.gametest.framework.StructureUtils
net.minecraft.class_4525
net.minecraft.test.StructureTestUtil
net.minecraft.gametest.framework.GameTestHarnessStructures

Field summary

Modifier and TypeField
private static final org.slf4j.Logger
d
LOGGER
field_27813
LOGGER
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 String
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(drc arg0)
getRotationStepsForRotation(Rotation arg0)
method_36105(class_2470 arg0)
getRotationSteps(BlockRotation rotation)
public static AABB
a(dwp arg0)
getStructureBounds(StructureBlockEntity arg0)
method_22242(class_2633 arg0)
getStructureBoundingBox(StructureBlockBlockEntity structureBlockEntity)
public static BoundingBox
b(dwp arg0)
getStructureBoundingBox(StructureBlockEntity arg0)
method_29410(class_2633 arg0)
getStructureBlockBox(StructureBlockBlockEntity structureBlockEntity)
public static BlockPos
c(dwp arg0)
getStructureOrigin(StructureBlockEntity arg0)
method_54849(class_2633 arg0)
getOrigin(StructureBlockBlockEntity structureBlockEntity)
public static void
a(jh arg0, jh arg1, drc arg2, ash 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)
public static void
a(String arg0, jh arg1, kl arg2, drc arg3, ash 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 testName, BlockPos pos, Vec3i relativePos, BlockRotation rotation, ServerWorld world)
public static BlockPos
a(ts arg0, jh arg1, drc arg2, ash arg3)
getStartCorner(GameTestInfo arg0, BlockPos arg1, Rotation arg2, ServerLevel arg3)
method_62774(class_4517 arg0, class_2338 arg1, class_2470 arg2, class_3218 arg3)
getPlacementPos(GameTestState state, BlockPos pos, BlockRotation rotation, ServerWorld world)
public static StructureBlockEntity
b(ts arg0, jh arg1, drc arg2, ash arg3)
prepareTestStructure(GameTestInfo arg0, BlockPos arg1, Rotation arg2, ServerLevel arg3)
method_54903(class_4517 arg0, class_2338 arg1, class_2470 arg2, class_3218 arg3)
initStructure(GameTestState state, BlockPos pos, BlockRotation rotation, ServerWorld world)
public static void
a(fbt arg0, ash arg1, boolean arg2)
encaseStructure(AABB arg0, ServerLevel arg1, boolean arg2)
method_57102(class_238 arg0, class_3218 arg1, boolean arg2)
placeBarrierBox(Box box, ServerWorld world, boolean noSkyAccess)
public static void
a(fbt arg0, ash arg1)
removeBarriers(AABB arg0, ServerLevel arg1)
method_57101(class_238 arg0, class_3218 arg1)
clearBarrierBox(Box box, ServerWorld world)
private static void
b(eoc arg0, ash arg1)
forceLoadChunks(BoundingBox arg0, ServerLevel arg1)
method_22256(class_3341 arg0, class_3218 arg1)
forceLoadNearbyChunks(BlockBox box, ServerWorld world)
public static void
a(eoc arg0, ash arg1)
clearSpaceForStructure(BoundingBox arg0, ServerLevel arg1)
method_22246(class_3341 arg0, class_3218 arg1)
clearArea(BlockBox area, ServerWorld world)
public static BlockPos
a(jh arg0, kl arg1, drc arg2)
getTransformedFarCorner(BlockPos arg0, Vec3i arg1, Rotation arg2)
method_54847(class_2338 arg0, class_2382 arg1, class_2470 arg2)
getStructureBlockBoxCornerPos(BlockPos pos, Vec3i size, BlockRotation rotation)
public static BoundingBox
b(jh arg0, kl arg1, drc 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)
public static Optional<BlockPos>
a(jh arg0, int arg1, ash 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)
public static Optional<BlockPos>
b(jh arg0, int arg1, ash 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)
public static Stream<BlockPos>
a(jh arg0, int arg1, ash arg2, String arg3)
findStructureByTestFunction(BlockPos arg0, int arg1, ServerLevel arg2, String arg3)
method_59782(class_2338 arg0, int arg1, class_3218 arg2, String arg3)
findStructureBlocks(BlockPos pos, int radius, ServerWorld world, String templateName)
public static Stream<BlockPos>
c(jh arg0, int arg1, ash 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)
private static StructureBlockEntity
c(ts arg0, jh arg1, drc arg2, ash arg3)
createStructureBlock(GameTestInfo arg0, BlockPos arg1, Rotation arg2, ServerLevel arg3)
method_22252(class_4517 arg0, class_2338 arg1, class_2470 arg2, class_3218 arg3)
placeStructureTemplate(GameTestState state, BlockPos pos, BlockRotation rotation, ServerWorld world)
private static BoundingBox
d(jh arg0, int arg1, ash 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(jh arg0, bvk arg1, ash arg2)
lookedAtStructureBlockPos(BlockPos arg0, Entity arg1, ServerLevel arg2)
method_56252(class_2338 arg0, class_1297 arg1, class_3218 arg2)
findTargetedStructureBlock(BlockPos pos, Entity entity, ServerWorld world)
private static void
a(int arg0, jh arg1, ash 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(jh arg0, jh arg1, ash 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)