net.minecraft.gametest.framework

public class TestCommand

tp
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
public static final int
a
STRUCTURE_BLOCK_NEARBY_SEARCH_RADIUS
field_33180
field_33180
f_177788_
public static final int
b
STRUCTURE_BLOCK_FULL_SEARCH_RADIUS
field_33181
field_33181
f_177789_
private static final org.slf4j.Logger
c
LOGGER
field_45665
LOGGER
f_291298_
private static final int
d
DEFAULT_CLEAR_RADIUS
field_33178
field_33178
f_177786_
private static final int
e
MAX_CLEAR_RADIUS
field_33179
field_33179
f_177787_
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_
private static final String
k
STRUCTURE_BLOCK_ENTITY_COULD_NOT_BE_FOUND
field_48504
BLOCK_ENTITY_NOT_FOUND_TEXT
f_316045_
private static final TestFinder$Builder<TestCommand$Runner>
l
testFinder
field_48505
RUNNERS
f_316814_

Constructor summary

ModifierConstructor
public ()

Method summary

Modifier and TypeMethod
private static com.mojang.brigadier.builder.ArgumentBuilder<CommandSourceStack, ?>
a(com.mojang.brigadier.builder.ArgumentBuilder<et, ?> arg0, Function<com.mojang.brigadier.context.CommandContext<et>, tp$a> arg1, Function<com.mojang.brigadier.builder.ArgumentBuilder<et, ?>, com.mojang.brigadier.builder.ArgumentBuilder<et, ?>> arg2)
runWithRetryOptions(com.mojang.brigadier.builder.ArgumentBuilder<CommandSourceStack, ?> arg0, Function<com.mojang.brigadier.context.CommandContext<CommandSourceStack>, TestCommand$Runner> arg1, Function<com.mojang.brigadier.builder.ArgumentBuilder<CommandSourceStack, ?>, com.mojang.brigadier.builder.ArgumentBuilder<CommandSourceStack, ?>> arg2)
method_56258(com.mojang.brigadier.builder.ArgumentBuilder<class_2168, ?> arg0, Function<com.mojang.brigadier.context.CommandContext<class_2168>, class_4527$class_9121> arg1, Function<com.mojang.brigadier.builder.ArgumentBuilder<class_2168, ?>, com.mojang.brigadier.builder.ArgumentBuilder<class_2168, ?>> arg2)
testAttemptConfig(com.mojang.brigadier.builder.ArgumentBuilder<ServerCommandSource, ?> builder, Function<com.mojang.brigadier.context.CommandContext<ServerCommandSource>, TestCommand$Runner> callback, Function<com.mojang.brigadier.builder.ArgumentBuilder<ServerCommandSource, ?>, com.mojang.brigadier.builder.ArgumentBuilder<ServerCommandSource, ?>> extraConfigAdder)
m_319788_(com.mojang.brigadier.builder.ArgumentBuilder<C_2969_, ?> p_331571_, Function<com.mojang.brigadier.context.CommandContext<C_2969_>, C_4902_$C_313851_> p_335923_, Function<com.mojang.brigadier.builder.ArgumentBuilder<C_2969_, ?>, com.mojang.brigadier.builder.ArgumentBuilder<C_2969_, ?>> p_333739_)
private static com.mojang.brigadier.builder.ArgumentBuilder<CommandSourceStack, ?>
a(com.mojang.brigadier.builder.ArgumentBuilder<et, ?> arg0, Function<com.mojang.brigadier.context.CommandContext<et>, tp$a> arg1)
runWithRetryOptions(com.mojang.brigadier.builder.ArgumentBuilder<CommandSourceStack, ?> arg0, Function<com.mojang.brigadier.context.CommandContext<CommandSourceStack>, TestCommand$Runner> arg1)
method_56257(com.mojang.brigadier.builder.ArgumentBuilder<class_2168, ?> arg0, Function<com.mojang.brigadier.context.CommandContext<class_2168>, class_4527$class_9121> arg1)
testAttemptConfig(com.mojang.brigadier.builder.ArgumentBuilder<ServerCommandSource, ?> builder, Function<com.mojang.brigadier.context.CommandContext<ServerCommandSource>, TestCommand$Runner> callback)
m_324887_(com.mojang.brigadier.builder.ArgumentBuilder<C_2969_, ?> p_335642_, Function<com.mojang.brigadier.context.CommandContext<C_2969_>, C_4902_$C_313851_> p_330546_)
private static com.mojang.brigadier.builder.ArgumentBuilder<CommandSourceStack, ?>
b(com.mojang.brigadier.builder.ArgumentBuilder<et, ?> arg0, Function<com.mojang.brigadier.context.CommandContext<et>, tp$a> arg1)
runWithRetryOptionsAndBuildInfo(com.mojang.brigadier.builder.ArgumentBuilder<CommandSourceStack, ?> arg0, Function<com.mojang.brigadier.context.CommandContext<CommandSourceStack>, TestCommand$Runner> arg1)
method_56268(com.mojang.brigadier.builder.ArgumentBuilder<class_2168, ?> arg0, Function<com.mojang.brigadier.context.CommandContext<class_2168>, class_4527$class_9121> arg1)
testAttemptAndPlacementConfig(com.mojang.brigadier.builder.ArgumentBuilder<ServerCommandSource, ?> builder, Function<com.mojang.brigadier.context.CommandContext<ServerCommandSource>, TestCommand$Runner> callback)
m_322812_(com.mojang.brigadier.builder.ArgumentBuilder<C_2969_, ?> p_328748_, Function<com.mojang.brigadier.context.CommandContext<C_2969_>, C_4902_$C_313851_> p_328595_)
public static void
a(com.mojang.brigadier.CommandDispatcher<et> 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(sx arg0)
resetGameTestInfo(GameTestInfo arg0)
method_56267(class_4517 arg0)
reset(GameTestState state)
m_324923_(C_4889_ p_331593_)
static Stream<GameTestInfo>
a(et arg0, tk arg1, tl arg2)
toGameTestInfos(CommandSourceStack arg0, RetryOptions arg1, StructureBlockPosFinder arg2)
method_56261(class_2168 arg0, class_9118 arg1, class_9119 arg2)
stream(ServerCommandSource source, TestAttemptConfig config, StructureBlockFinder finder)
m_322751_(C_2969_ p_329247_, C_313404_ p_336246_, C_313808_ p_334897_)
static Stream<GameTestInfo>
a(et arg0, tk arg1, tt arg2, int arg3)
toGameTestInfo(CommandSourceStack arg0, RetryOptions arg1, TestFunctionFinder arg2, int arg3)
method_56262(class_2168 arg0, class_9118 arg1, class_9125 arg2, int arg3)
stream(ServerCommandSource source, TestAttemptConfig config, TestFunctionFinder finder, int rotationSteps)
m_325000_(C_2969_ p_330917_, C_313404_ p_332428_, C_313383_ p_328880_, int p_327985_)
private static Optional<GameTestInfo>
a(jd arg0, aqu arg1, tk arg2)
createGameTestInfo(BlockPos arg0, ServerLevel arg1, RetryOptions arg2)
method_56264(class_2338 arg0, class_3218 arg1, class_9118 arg2)
find(BlockPos pos, ServerWorld world, TestAttemptConfig config)
m_324715_(C_4675_ p_332856_, C_12_ p_328153_, C_313404_ p_330368_)
private static int
a(et 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(et 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_)
static int
a()
stopTests()
method_56254()
stop()
m_320848_()
static int
a(et arg0, aqu arg1, ta arg2)
trackAndStartRunner(CommandSourceStack arg0, ServerLevel arg1, GameTestRunner arg2)
method_56259(class_2168 arg0, class_3218 arg1, class_4520 arg2)
start(ServerCommandSource source, ServerWorld world, TestRunContext context)
m_324481_(C_2969_ p_333535_, C_12_ p_333108_, C_4892_ p_333430_)
static int
a(et arg0, drx 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
b(et 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 boolean
a(aqu arg0, String arg1)
verifyStructureExists(ServerLevel arg0, String arg1)
method_54904(class_3218 arg0, String arg1)
checkStructure(ServerWorld world, String templateId)
m_306765_(C_12_ p_310841_, String p_330426_)
static BlockPos
a(et arg0)
createTestPositionAround(CommandSourceStack arg0)
method_54850(class_2168 arg0)
getStructurePos(ServerCommandSource source)
m_307920_(C_2969_ p_313084_)
static void
c(et 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
d(et 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_)
static void
a(aqu 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_)