net.minecraft.gametest.framework

public class TestCommand

uk
net.minecraft.gametest.framework.TestCommand
net.minecraft.class_4527
net.minecraft.server.command.TestCommand
net.minecraft.gametest.framework.GameTestHarnessTestCommand

Field summary

Modifier and TypeField
public static final int
a
STRUCTURE_BLOCK_NEARBY_SEARCH_RADIUS
field_33180
field_33180
public static final int
b
STRUCTURE_BLOCK_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 org.slf4j.Logger
e
LOGGER
field_45665
LOGGER
private static final int
f
DEFAULT_CLEAR_RADIUS
field_33178
field_33178
private static final int
g
MAX_CLEAR_RADIUS
field_33179
field_33179
private static final int
h
TEST_POS_Z_OFFSET_FROM_PLAYER
field_33182
field_33182
private static final int
i
SHOW_POS_DURATION_MS
field_33183
field_33183
private static final int
j
DEFAULT_X_SIZE
field_33184
field_33184
private static final int
k
DEFAULT_Y_SIZE
field_33185
field_33185
private static final int
l
DEFAULT_Z_SIZE
field_33186
field_33186
private static final String
m
STRUCTURE_BLOCK_ENTITY_COULD_NOT_BE_FOUND
field_48504
BLOCK_ENTITY_NOT_FOUND_TEXT
private static final TestFinder$Builder<TestCommand$Runner>
n
testFinder
field_48505
RUNNERS

Constructor summary

ModifierConstructor
public ()

Method summary

Modifier and TypeMethod
private static com.mojang.brigadier.builder.ArgumentBuilder<CommandSourceStack, ?>
a(com.mojang.brigadier.builder.ArgumentBuilder<ew, ?> arg0, Function<com.mojang.brigadier.context.CommandContext<ew>, uk$a> arg1, Function<com.mojang.brigadier.builder.ArgumentBuilder<ew, ?>, com.mojang.brigadier.builder.ArgumentBuilder<ew, ?>> 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)
private static com.mojang.brigadier.builder.ArgumentBuilder<CommandSourceStack, ?>
a(com.mojang.brigadier.builder.ArgumentBuilder<ew, ?> arg0, Function<com.mojang.brigadier.context.CommandContext<ew>, uk$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)
private static com.mojang.brigadier.builder.ArgumentBuilder<CommandSourceStack, ?>
b(com.mojang.brigadier.builder.ArgumentBuilder<ew, ?> arg0, Function<com.mojang.brigadier.context.CommandContext<ew>, uk$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)
public static void
a(com.mojang.brigadier.CommandDispatcher<ew> arg0)
register(com.mojang.brigadier.CommandDispatcher<CommandSourceStack> arg0)
method_22270(com.mojang.brigadier.CommandDispatcher<class_2168> arg0)
register(com.mojang.brigadier.CommandDispatcher<ServerCommandSource> dispatcher)
private static int
a(ts arg0)
resetGameTestInfo(GameTestInfo arg0)
method_56267(class_4517 arg0)
reset(GameTestState state)
static Stream<GameTestInfo>
a(ew arg0, uf arg1, ug 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)
static Stream<GameTestInfo>
a(ew arg0, uf arg1, uo 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)
private static Optional<GameTestInfo>
a(jh arg0, ash arg1, uf 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)
private static int
a(ew 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)
private static int
a(ew arg0, String arg1)
showPos(CommandSourceStack arg0, String arg1)
method_22264(class_2168 arg0, String arg1)
executePos(ServerCommandSource source, String variableName)
static int
a()
stopTests()
method_56254()
stop()
static int
a(ew arg0, ash arg1, tv 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)
static int
a(ew arg0, dwp arg1)
saveAndExportTestStructure(CommandSourceStack arg0, StructureBlockEntity arg1)
method_54905(class_2168 arg0, class_2633 arg1)
export(ServerCommandSource source, StructureBlockBlockEntity blockEntity)
private static int
b(ew arg0, String arg1)
exportTestStructure(CommandSourceStack arg0, String arg1)
method_22282(class_2168 arg0, String arg1)
executeExport(ServerCommandSource source, String testName)
private static boolean
a(ash arg0, String arg1)
verifyStructureExists(ServerLevel arg0, String arg1)
method_54904(class_3218 arg0, String arg1)
checkStructure(ServerWorld world, String templateId)
static BlockPos
a(ew arg0)
createTestPositionAround(CommandSourceStack arg0)
method_54850(class_2168 arg0)
getStructurePos(ServerCommandSource source)
static void
c(ew arg0, String arg1)
say(CommandSourceStack arg0, String arg1)
method_22278(class_2168 arg0, String arg1)
sendMessage(ServerCommandSource source, String message)
private static int
d(ew arg0, String arg1)
importTestStructure(CommandSourceStack arg0, String arg1)
method_22285(class_2168 arg0, String arg1)
executeImport(ServerCommandSource source, String testName)
static void
a(ash 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)