net.minecraft.gametest.framework

public class TestCommand

sd
net.minecraft.gametest.framework.TestCommand
net.minecraft.class_4527
net.minecraft.server.command.TestCommand
net.minecraft.src.C_4902_
net.minecraft.gametest.framework.GameTestHarnessTestCommand

Field summary

Modifier and TypeField
private static final org.slf4j.Logger
a
LOGGER
field_45665
LOGGER
f_291298_
private static final int
b
DEFAULT_CLEAR_RADIUS
field_33178
field_33178
f_177786_
private static final int
c
MAX_CLEAR_RADIUS
field_33179
field_33179
f_177787_
private static final int
d
STRUCTURE_BLOCK_NEARBY_SEARCH_RADIUS
field_33180
field_33180
f_177788_
private static final int
e
STRUCTURE_BLOCK_FULL_SEARCH_RADIUS
field_33181
field_33181
f_177789_
private static final int
f
TEST_POS_Z_OFFSET_FROM_PLAYER
field_33182
field_33182
f_177790_
private static final int
g
SHOW_POS_DURATION_MS
field_33183
field_33183
f_177791_
private static final int
h
DEFAULT_X_SIZE
field_33184
field_33184
f_177792_
private static final int
i
DEFAULT_Y_SIZE
field_33185
field_33185
f_177793_
private static final int
j
DEFAULT_Z_SIZE
field_33186
field_33186
f_177794_

Constructor summary

ModifierConstructor
public ()

Method summary

Modifier and TypeMethod
public static void
a(com.mojang.brigadier.CommandDispatcher<ds> arg0)
register(com.mojang.brigadier.CommandDispatcher<CommandSourceStack> arg0)
method_22270(com.mojang.brigadier.CommandDispatcher<class_2168> arg0)
register(com.mojang.brigadier.CommandDispatcher<ServerCommandSource> dispatcher)
m_127946_(com.mojang.brigadier.CommandDispatcher<C_2969_> p_127947_)
private static int
a(ds arg0, String arg1, int arg2, int arg3, int arg4)
createNewStructure(CommandSourceStack arg0, String arg1, int arg2, int arg3, int arg4)
method_22268(class_2168 arg0, String arg1, int arg2, int arg3, int arg4)
executeCreate(ServerCommandSource source, String testName, int x, int y, int z)
m_127967_(C_2969_ p_127968_, String p_127969_, int p_127970_, int p_127971_, int p_127972_)
private static int
a(ds arg0, String arg1)
showPos(CommandSourceStack arg0, String arg1)
method_22264(class_2168 arg0, String arg1)
executePos(ServerCommandSource source, String variableName)
m_127959_(C_2969_ p_127960_, String p_127961_)
private static int
a(ds arg0, boolean arg1)
runNearbyTest(CommandSourceStack arg0, boolean arg1)
method_22277(class_2168 arg0, boolean arg1)
executeRunThis(ServerCommandSource source, boolean rerunUntilFailed)
m_127950_(C_2969_ p_127951_, boolean p_311329_)
private static int
a(ds arg0)
resetNearbyTest(CommandSourceStack arg0)
method_55454(class_2168 arg0)
executeResetThis(ServerCommandSource source)
m_305964_(C_2969_ p_310361_)
private static int
b(ds arg0, boolean arg1)
runAllNearbyTests(CommandSourceStack arg0, boolean arg1)
method_22281(class_2168 arg0, boolean arg1)
executeRunThese(ServerCommandSource source, boolean rerunUntilFailed)
m_128001_(C_2969_ p_128002_, boolean p_312592_)
private static void
a(and arg0, hx arg1, rz arg2, boolean arg3)
runTest(ServerLevel arg0, BlockPos arg1, MultipleTestTracker arg2, boolean arg3)
method_22272(class_3218 arg0, class_2338 arg1, class_4524 arg2, boolean arg3)
run(ServerWorld world, BlockPos pos, TestSet tests, boolean rerunUntilFailed)
m_127929_(C_12_ p_127930_, C_4675_ p_127931_, C_4898_ p_127932_, boolean p_309720_)
private static boolean
a(and arg0, ro arg1)
verifyStructureExists(ServerLevel arg0, GameTestInfo arg1)
method_54904(class_3218 arg0, class_4517 arg1)
checkStructure(ServerWorld world, GameTestState state)
m_306765_(C_12_ p_310841_, C_4889_ p_312544_)
static void
a(and arg0, rz arg1)
showTestSummaryIfAllDone(ServerLevel arg0, MultipleTestTracker arg1)
method_22280(class_3218 arg0, class_4524 arg1)
onCompletion(ServerWorld world, TestSet tests)
m_127996_(C_12_ p_127997_, C_4898_ p_127998_)
private static int
a(ds arg0, int arg1)
clearAllTests(CommandSourceStack arg0, int arg1)
method_22265(class_2168 arg0, int arg1)
executeClearAll(ServerCommandSource source, int radius)
m_127952_(C_2969_ p_127953_, int p_127954_)
private static int
a(ds arg0, se arg1, int arg2)
runTest(CommandSourceStack arg0, TestFunction arg1, int arg2)
method_22266(class_2168 arg0, class_4529 arg1, int arg2)
executeRun(ServerCommandSource source, TestFunction testFunction, int rotationSteps)
m_127978_(C_2969_ p_127979_, C_4904_ p_127980_, int p_127981_)
private static BlockPos
b(ds arg0)
createTestPositionAround(CommandSourceStack arg0)
method_54850(class_2168 arg0)
getStructurePos(ServerCommandSource source)
m_307920_(C_2969_ p_313084_)
private static void
a(se arg0, and arg1)
runTestPreparation(TestFunction arg0, ServerLevel arg1)
method_23647(class_4529 arg0, class_3218 arg1)
beforeBatch(TestFunction testFunction, ServerWorld world)
m_127993_(C_4904_ p_127994_, C_12_ p_127995_)
private static int
a(ds arg0, int arg1, int arg2)
runAllTests(CommandSourceStack arg0, int arg1, int arg2)
method_22284(class_2168 arg0, int arg1, int arg2)
executeRunAll(ServerCommandSource source, int rotationSteps, int testsPerRow)
m_127955_(C_2969_ p_127956_, int p_127957_, int p_127958_)
private static int
a(ds arg0, String arg1, int arg2, int arg3)
runAllTestsInClass(CommandSourceStack arg0, String arg1, int arg2, int arg3)
method_22267(class_2168 arg0, String arg1, int arg2, int arg3)
executeRunAll(ServerCommandSource source, String testClass, int rotationSteps, int testsPerRow)
m_127962_(C_2969_ p_127963_, String p_127964_, int p_127965_, int p_127966_)
private static int
a(ds arg0, boolean arg1, int arg2, int arg3)
runLastFailedTests(CommandSourceStack arg0, boolean arg1, int arg2, int arg3)
method_29411(class_2168 arg0, boolean arg1, int arg2, int arg3)
executeRerunFailed(ServerCommandSource source, boolean requiredOnly, int rotationSteps, int testsPerRow)
m_127982_(C_2969_ p_127983_, boolean p_127984_, int p_127985_, int p_127986_)
private static void
a(ds arg0, Collection<se> arg1, int arg2, int arg3)
runTests(CommandSourceStack arg0, Collection<TestFunction> arg1, int arg2, int arg3)
method_22269(class_2168 arg0, Collection<class_4529> arg1, int arg2, int arg3)
run(ServerCommandSource source, Collection<TestFunction> testFunctions, int rotationSteps, int testsPerRow)
m_127973_(C_2969_ p_127974_, Collection<C_4904_> p_127975_, int p_127976_, int p_127977_)
private static void
b(ds arg0, String arg1)
say(CommandSourceStack arg0, String arg1)
method_22278(class_2168 arg0, String arg1)
sendMessage(ServerCommandSource source, String message)
m_128003_(C_2969_ p_128004_, String p_128005_)
private static int
c(ds arg0)
exportNearestTestStructure(CommandSourceStack arg0)
method_29413(class_2168 arg0)
executeExport(ServerCommandSource source)
m_128008_(C_2969_ p_128009_)
private static int
d(ds arg0)
exportAllNearbyTests(CommandSourceStack arg0)
method_52890(class_2168 arg0)
executeExportThese(ServerCommandSource source)
m_293348_(C_2969_ p_298362_)
private static int
a(ds arg0, dij arg1)
saveAndExportTestStructure(CommandSourceStack arg0, StructureBlockEntity arg1)
method_54905(class_2168 arg0, class_2633 arg1)
export(ServerCommandSource source, StructureBlockBlockEntity blockEntity)
m_306022_(C_2969_ p_309467_, C_2029_ p_310131_)
private static int
c(ds arg0, String arg1)
exportTestStructure(CommandSourceStack arg0, String arg1)
method_22282(class_2168 arg0, String arg1)
executeExport(ServerCommandSource source, String testName)
m_128010_(C_2969_ p_128011_, String p_128012_)
private static int
d(ds arg0, String arg1)
importTestStructure(CommandSourceStack arg0, String arg1)
method_22285(class_2168 arg0, String arg1)
executeImport(ServerCommandSource source, String testName)
m_128015_(C_2969_ p_128016_, String p_128017_)
private static void
a(and arg0, String arg1, n arg2)
say(ServerLevel arg0, String arg1, ChatFormatting arg2)
method_22275(class_3218 arg0, String arg1, class_124 arg2)
sendMessage(ServerWorld world, String message, Formatting formatting)
m_127933_(C_12_ p_127934_, String p_127935_, C_4856_ p_127936_)