net.minecraft.gametest.framework

public class TestCommand

tk
net.minecraft.gametest.framework.TestCommand
net.minecraft.class_4527
net.minecraft.server.command.TestCommand
net.minecraft.src.C_4902_

Field summary

Modifier and TypeField
public static final int
a
TEST_NEARBY_SEARCH_RADIUS
field_33180
field_33180
f_379857_
public static final int
b
TEST_FULL_SEARCH_RADIUS
field_33181
field_33181
f_379523_
public static final int
c
VERIFY_TEST_GRID_AXIS_SIZE
field_53735
field_53735
f_346411_
public static final int
d
VERIFY_TEST_BATCH_SIZE
field_53736
field_53736
f_348239_
private static final int
e
DEFAULT_CLEAR_RADIUS
field_33178
field_33178
f_177786_
private static final int
f
MAX_CLEAR_RADIUS
field_33179
field_33179
f_177787_
private static final int
g
TEST_POS_Z_OFFSET_FROM_PLAYER
field_33182
field_33182
f_177790_
private static final int
h
SHOW_POS_DURATION_MS
field_33183
field_33183
f_177791_
private static final int
i
DEFAULT_X_SIZE
field_33184
field_33184
f_177792_
private static final int
j
DEFAULT_Y_SIZE
field_33185
field_33185
f_177793_
private static final int
k
DEFAULT_Z_SIZE
field_33186
field_33186
f_177794_
private static final com.mojang.brigadier.exceptions.SimpleCommandExceptionType
l
CLEAR_NO_TESTS
field_56194
NO_TESTS_TO_CLEAR_EXCEPTION
f_382294_
private static final com.mojang.brigadier.exceptions.SimpleCommandExceptionType
m
RESET_NO_TESTS
field_56408
NO_TESTS_TO_RESET_EXCEPTION
f_380605_
private static final com.mojang.brigadier.exceptions.SimpleCommandExceptionType
n
TEST_INSTANCE_COULD_NOT_BE_FOUND
field_56195
TEST_INSTANCE_NOT_FOUND_EXCEPTION
f_382274_
private static final com.mojang.brigadier.exceptions.SimpleCommandExceptionType
o
NO_STRUCTURES_TO_EXPORT
field_56196
EXPORT_STRUCTURES_NOT_FOUND_EXCEPTION
f_382332_
private static final com.mojang.brigadier.exceptions.SimpleCommandExceptionType
p
NO_TEST_INSTANCES
field_56197
NO_TEST_INSTANCES_EXCEPTION
f_381004_
private static final com.mojang.brigadier.exceptions.Dynamic3CommandExceptionType
q
NO_TEST_CONTAINING
field_56198
NO_TEST_CONTAINING_POS_EXCEPTION
f_380790_
private static final com.mojang.brigadier.exceptions.DynamicCommandExceptionType
r
TOO_LARGE
field_56409
TOO_LARGE_EXCEPTION
f_380600_

Constructor summary

ModifierConstructor
public ()

Method summary

Modifier and TypeMethod
private static int
a(tn arg0)
reset(TestFinder arg0)
method_67009(class_9123 arg0)
reset(TestFinder finder)
m_384563_(C_313828_ p_397105_)
private static int
b(tn arg0)
clear(TestFinder arg0)
method_67020(class_9123 arg0)
clear(TestFinder finder)
m_388418_(C_313828_ p_395438_)
private static int
c(tn arg0)
export(TestFinder arg0)
method_67023(class_9123 arg0)
export(TestFinder finder)
m_387781_(C_313828_ p_393674_)
private static int
d(tn arg0)
verify(TestFinder arg0)
method_67026(class_9123 arg0)
start(TestFinder finder)
m_127946_(C_313828_ p_394697_)
private static int
a(tn arg0, th arg1, int arg2, int arg3)
run(TestFinder arg0, RetryOptions arg1, int arg2, int arg3)
method_67012(class_9123 arg0, class_9118 arg1, int arg2, int arg3)
start(TestFinder finder, TestAttemptConfig config, int rotationSteps, int testsPerRow)
m_384236_(C_313828_ p_396663_, C_313404_ p_394304_, int p_391302_, int p_395268_)
private static int
e(tn arg0)
locate(TestFinder arg0)
method_67029(class_9123 arg0)
locate(TestFinder finder)
m_386649_(C_313828_ p_392659_)
private static com.mojang.brigadier.builder.ArgumentBuilder<CommandSourceStack, ?>
a(com.mojang.brigadier.builder.ArgumentBuilder<ek, ?> arg0, aoe<com.mojang.brigadier.context.CommandContext<ek>, tn> arg1, Function<com.mojang.brigadier.builder.ArgumentBuilder<ek, ?>, com.mojang.brigadier.builder.ArgumentBuilder<ek, ?>> arg2)
runWithRetryOptions(com.mojang.brigadier.builder.ArgumentBuilder<CommandSourceStack, ?> arg0, InCommandFunction<com.mojang.brigadier.context.CommandContext<CommandSourceStack>, TestFinder> 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, class_10618<com.mojang.brigadier.context.CommandContext<class_2168>, class_9123> 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, ArgumentGetter<com.mojang.brigadier.context.CommandContext<ServerCommandSource>, TestFinder> finderGetter, 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_, C_378902_<com.mojang.brigadier.context.CommandContext<C_2969_>, C_313828_> p_395261_, Function<com.mojang.brigadier.builder.ArgumentBuilder<C_2969_, ?>, com.mojang.brigadier.builder.ArgumentBuilder<C_2969_, ?>> p_335923_)
private static com.mojang.brigadier.builder.ArgumentBuilder<CommandSourceStack, ?>
a(com.mojang.brigadier.builder.ArgumentBuilder<ek, ?> arg0, aoe<com.mojang.brigadier.context.CommandContext<ek>, tn> arg1)
runWithRetryOptions(com.mojang.brigadier.builder.ArgumentBuilder<CommandSourceStack, ?> arg0, InCommandFunction<com.mojang.brigadier.context.CommandContext<CommandSourceStack>, TestFinder> arg1)
method_56257(com.mojang.brigadier.builder.ArgumentBuilder<class_2168, ?> arg0, class_10618<com.mojang.brigadier.context.CommandContext<class_2168>, class_9123> arg1)
testAttemptConfig(com.mojang.brigadier.builder.ArgumentBuilder<ServerCommandSource, ?> builder, ArgumentGetter<com.mojang.brigadier.context.CommandContext<ServerCommandSource>, TestFinder> finderGetter)
m_324887_(com.mojang.brigadier.builder.ArgumentBuilder<C_2969_, ?> p_335642_, C_378902_<com.mojang.brigadier.context.CommandContext<C_2969_>, C_313828_> p_396652_)
private static com.mojang.brigadier.builder.ArgumentBuilder<CommandSourceStack, ?>
b(com.mojang.brigadier.builder.ArgumentBuilder<ek, ?> arg0, aoe<com.mojang.brigadier.context.CommandContext<ek>, tn> arg1)
runWithRetryOptionsAndBuildInfo(com.mojang.brigadier.builder.ArgumentBuilder<CommandSourceStack, ?> arg0, InCommandFunction<com.mojang.brigadier.context.CommandContext<CommandSourceStack>, TestFinder> arg1)
method_56268(com.mojang.brigadier.builder.ArgumentBuilder<class_2168, ?> arg0, class_10618<com.mojang.brigadier.context.CommandContext<class_2168>, class_9123> arg1)
testAttemptAndPlacementConfig(com.mojang.brigadier.builder.ArgumentBuilder<ServerCommandSource, ?> builder, ArgumentGetter<com.mojang.brigadier.context.CommandContext<ServerCommandSource>, TestFinder> finderGetter)
m_322812_(com.mojang.brigadier.builder.ArgumentBuilder<C_2969_, ?> p_328748_, C_378902_<com.mojang.brigadier.context.CommandContext<C_2969_>, C_313828_> p_395005_)
public static void
a(com.mojang.brigadier.CommandDispatcher<ek> arg0, eg arg1)
register(com.mojang.brigadier.CommandDispatcher<CommandSourceStack> arg0, CommandBuildContext arg1)
method_22270(com.mojang.brigadier.CommandDispatcher<class_2168> arg0, class_7157 arg1)
register(com.mojang.brigadier.CommandDispatcher<ServerCommandSource> dispatcher, CommandRegistryAccess registryAccess)
m_384611_(com.mojang.brigadier.CommandDispatcher<C_2969_> p_395323_, C_213173_ p_393183_)
public static CompletableFuture<com.mojang.brigadier.suggestion.Suggestions>
a(com.mojang.brigadier.context.CommandContext<ek> arg0, com.mojang.brigadier.suggestion.SuggestionsBuilder arg1)
suggestTestFunction(com.mojang.brigadier.context.CommandContext<CommandSourceStack> arg0, com.mojang.brigadier.suggestion.SuggestionsBuilder arg1)
method_67002(com.mojang.brigadier.context.CommandContext<class_2168> arg0, com.mojang.brigadier.suggestion.SuggestionsBuilder arg1)
suggestTestFunctions(com.mojang.brigadier.context.CommandContext<ServerCommandSource> context, com.mojang.brigadier.suggestion.SuggestionsBuilder builder)
m_385106_(com.mojang.brigadier.context.CommandContext<C_2969_> p_392312_, com.mojang.brigadier.suggestion.SuggestionsBuilder p_393345_)
private static int
a(ek arg0, sr arg1)
resetGameTestInfo(CommandSourceStack arg0, GameTestInfo arg1)
method_56267(class_2168 arg0, class_4517 arg1)
reset(ServerCommandSource source, GameTestState state)
m_324923_(C_2969_ p_394479_, C_4889_ p_331593_)
private static Stream<GameTestInfo>
a(ek arg0, th arg1, tq arg2)
toGameTestInfos(CommandSourceStack arg0, RetryOptions arg1, TestPosFinder arg2)
method_56261(class_2168 arg0, class_9118 arg1, class_10675 arg2)
stream(ServerCommandSource source, TestAttemptConfig config, TestInstanceBlockFinder finder)
m_322751_(C_2969_ p_329247_, C_313404_ p_336246_, C_378968_ p_392271_)
private static Stream<GameTestInfo>
a(ek arg0, th arg1, tp arg2, int arg3)
toGameTestInfo(CommandSourceStack arg0, RetryOptions arg1, TestInstanceFinder arg2, int arg3)
method_56262(class_2168 arg0, class_9118 arg1, class_10674 arg2, int arg3)
stream(ServerCommandSource source, TestAttemptConfig config, TestInstanceFinder finder, int rotationSteps)
m_325000_(C_2969_ p_330917_, C_313404_ p_332428_, C_379047_ p_393793_, int p_327985_)
private static Optional<GameTestInfo>
a(iw arg0, ek arg1, th arg2)
createGameTestInfo(BlockPos arg0, CommandSourceStack arg1, RetryOptions arg2)
method_56264(class_2338 arg0, class_2168 arg1, class_9118 arg2)
find(BlockPos pos, ServerCommandSource source, TestAttemptConfig config)
m_324715_(C_4675_ p_332856_, C_2969_ p_393532_, C_313404_ p_330368_)
private static int
a(ek arg0, alr arg1, int arg2, int arg3, int arg4)
createNewStructure(CommandSourceStack arg0, ResourceLocation arg1, int arg2, int arg3, int arg4)
method_22268(class_2168 arg0, class_2960 arg1, int arg2, int arg3, int arg4)
executeCreate(ServerCommandSource source, Identifier id, int x, int y, int z)
m_127967_(C_2969_ p_127968_, C_5265_ p_395231_, int p_127970_, int p_127971_, int p_127972_)
private static int
a(ek 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()
stopTests()
method_56254()
stop()
m_320848_()
public static int
a(ek arg0, sw arg1)
trackAndStartRunner(CommandSourceStack arg0, GameTestRunner arg1)
method_56259(class_2168 arg0, class_4520 arg1)
start(ServerCommandSource source, TestRunContext context)
m_324481_(C_2969_ p_333535_, C_4892_ p_333430_)
private static int
a(ek arg0, jg<ss> arg1)
exportTestStructure(CommandSourceStack arg0, Holder<GameTestInstance> arg1)
method_22282(class_2168 arg0, class_6880<class_10660> arg1)
executeExport(ServerCommandSource source, RegistryEntry<TestInstance> instance)
m_128010_(C_2969_ p_128011_, C_203228_<C_379188_> p_392480_)
private static boolean
a(ek arg0, alr arg1)
verifyStructureExists(CommandSourceStack arg0, ResourceLocation arg1)
method_54904(class_2168 arg0, class_2960 arg1)
checkStructure(ServerCommandSource source, Identifier templateId)
m_306765_(C_2969_ p_395581_, C_5265_ p_392915_)
private static BlockPos
a(ek arg0)
createTestPositionAround(CommandSourceStack arg0)
method_54850(class_2168 arg0)
getStructurePos(ServerCommandSource source)
m_307920_(C_2969_ p_313084_)