net.minecraft.gametest.framework

public class TestCommand

ti
net.minecraft.gametest.framework.TestCommand
net.minecraft.class_4527
net.minecraft.server.command.TestCommand

Field summary

Modifier and TypeField
public static final int
a
TEST_NEARBY_SEARCH_RADIUS
field_33180
field_33180
public static final int
b
TEST_FULL_SEARCH_RADIUS
field_33181
field_33181
public static final int
c
VERIFY_TEST_GRID_AXIS_SIZE
field_53735
field_53735
public static final int
d
VERIFY_TEST_BATCH_SIZE
field_53736
field_53736
private static final int
e
DEFAULT_CLEAR_RADIUS
field_33178
field_33178
private static final int
f
MAX_CLEAR_RADIUS
field_33179
field_33179
private static final int
g
TEST_POS_Z_OFFSET_FROM_PLAYER
field_33182
field_33182
private static final int
h
SHOW_POS_DURATION_MS
field_33183
field_33183
private static final int
i
DEFAULT_X_SIZE
field_33184
field_33184
private static final int
j
DEFAULT_Y_SIZE
field_33185
field_33185
private static final int
k
DEFAULT_Z_SIZE
field_33186
field_33186
private static final com.mojang.brigadier.exceptions.SimpleCommandExceptionType
l
CLEAR_NO_TESTS
field_56194
NO_TESTS_EXCEPTION
private static final com.mojang.brigadier.exceptions.SimpleCommandExceptionType
m
RESET_NO_TESTS
field_56408
field_56408
private static final com.mojang.brigadier.exceptions.SimpleCommandExceptionType
n
TEST_INSTANCE_COULD_NOT_BE_FOUND
field_56195
TEST_INSTANCE_NOT_FOUND_EXCEPTION
private static final com.mojang.brigadier.exceptions.SimpleCommandExceptionType
o
NO_STRUCTURES_TO_EXPORT
field_56196
EXPORT_STRUCTURES_NOT_FOUND_EXCEPTION
private static final com.mojang.brigadier.exceptions.SimpleCommandExceptionType
p
NO_TEST_INSTANCES
field_56197
NO_TEST_INSTANCES_EXCEPTION
private static final com.mojang.brigadier.exceptions.Dynamic3CommandExceptionType
q
NO_TEST_CONTAINING
field_56198
NO_TEST_CONTAINING_POS_EXCEPTION
private static final com.mojang.brigadier.exceptions.DynamicCommandExceptionType
r
TOO_LARGE
field_56409
field_56409

Constructor summary

ModifierConstructor
public ()

Method summary

Modifier and TypeMethod
private static int
a(tl arg0)
reset(TestFinder arg0)
method_67009(class_9123 arg0)
reset(TestFinder finder)
private static int
b(tl arg0)
clear(TestFinder arg0)
method_67020(class_9123 arg0)
clear(TestFinder finder)
private static int
c(tl arg0)
export(TestFinder arg0)
method_67023(class_9123 arg0)
export(TestFinder finder)
private static int
d(tl arg0)
verify(TestFinder arg0)
method_67026(class_9123 arg0)
start(TestFinder finder)
private static int
a(tl arg0, tf 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)
private static int
e(tl arg0)
locate(TestFinder arg0)
method_67029(class_9123 arg0)
locate(TestFinder finder)
private static com.mojang.brigadier.builder.ArgumentBuilder<CommandSourceStack, ?>
a(com.mojang.brigadier.builder.ArgumentBuilder<ei, ?> arg0, anr<com.mojang.brigadier.context.CommandContext<ei>, tl> arg1, Function<com.mojang.brigadier.builder.ArgumentBuilder<ei, ?>, com.mojang.brigadier.builder.ArgumentBuilder<ei, ?>> 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)
private static com.mojang.brigadier.builder.ArgumentBuilder<CommandSourceStack, ?>
a(com.mojang.brigadier.builder.ArgumentBuilder<ei, ?> arg0, anr<com.mojang.brigadier.context.CommandContext<ei>, tl> 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)
private static com.mojang.brigadier.builder.ArgumentBuilder<CommandSourceStack, ?>
b(com.mojang.brigadier.builder.ArgumentBuilder<ei, ?> arg0, anr<com.mojang.brigadier.context.CommandContext<ei>, tl> 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)
public static void
a(com.mojang.brigadier.CommandDispatcher<ei> arg0, ee 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)
public static CompletableFuture<com.mojang.brigadier.suggestion.Suggestions>
a(com.mojang.brigadier.context.CommandContext<ei> 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)
private static int
a(ei arg0, sp arg1)
resetGameTestInfo(CommandSourceStack arg0, GameTestInfo arg1)
method_56267(class_2168 arg0, class_4517 arg1)
reset(ServerCommandSource source, GameTestState state)
private static Stream<GameTestInfo>
a(ei arg0, tf arg1, to 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)
private static Stream<GameTestInfo>
a(ei arg0, tf arg1, tn 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)
private static Optional<GameTestInfo>
a(iu arg0, ei arg1, tf 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)
private static int
a(ei arg0, ale 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)
private static int
a(ei arg0, String arg1)
showPos(CommandSourceStack arg0, String arg1)
method_22264(class_2168 arg0, String arg1)
executePos(ServerCommandSource source, String variableName)
private static int
a()
stopTests()
method_56254()
stop()
public static int
a(ei arg0, su arg1)
trackAndStartRunner(CommandSourceStack arg0, GameTestRunner arg1)
method_56259(class_2168 arg0, class_4520 arg1)
start(ServerCommandSource source, TestRunContext context)
private static int
a(ei arg0, je<sq> arg1)
exportTestStructure(CommandSourceStack arg0, Holder<GameTestInstance> arg1)
method_22282(class_2168 arg0, class_6880<class_10660> arg1)
executeExport(ServerCommandSource source, RegistryEntry<TestInstance> instance)
private static boolean
a(ei arg0, ale arg1)
verifyStructureExists(CommandSourceStack arg0, ResourceLocation arg1)
method_54904(class_2168 arg0, class_2960 arg1)
checkStructure(ServerCommandSource source, Identifier templateId)
private static BlockPos
a(ei arg0)
createTestPositionAround(CommandSourceStack arg0)
method_54850(class_2168 arg0)
getStructurePos(ServerCommandSource source)