Package net.minecraft.server.command
Class TestCommand
java.lang.Object
net.minecraft.server.command.TestCommand
public class TestCommand extends Object
- Mappings:
Namespace Name official mg
intermediary net/minecraft/class_4527
named net/minecraft/server/command/TestCommand
-
Nested Class Summary
Nested Classes Modifier and Type Class Description (package private) static class
TestCommand.Listener
-
Constructor Summary
Constructors Constructor Description TestCommand()
-
Method Summary
Modifier and Type Method Description private static int
executeClearAll(ServerCommandSource source, int radius)
private static int
executeCreate(ServerCommandSource source, String structure, int x, int y, int z)
private static int
executeExport(ServerCommandSource source, String structure)
private static int
executeImport(ServerCommandSource serverCommandSource, String structure)
private static int
executePos(ServerCommandSource source, String variableName)
private static int
executeRun(ServerCommandSource source, TestFunction testFunction, int int2)
private static int
executeRunAll(ServerCommandSource source, int int2, int int3)
private static int
executeRunAll(ServerCommandSource source, String testClass, int int2, int int3)
private static int
executeRunThese(ServerCommandSource source)
private static int
executeRunThis(ServerCommandSource source)
private static int
method_29411(ServerCommandSource serverCommandSource, boolean bool, int int2, int int3)
private static int
method_29413(ServerCommandSource serverCommandSource)
private static void
onCompletion(ServerWorld world, TestSet tests)
static void
register(com.mojang.brigadier.CommandDispatcher<ServerCommandSource> dispatcher)
private static void
run(ServerCommandSource source, Collection<TestFunction> testFunctions, int int2, int int3)
private static void
run(ServerWorld world, BlockPos pos, TestSet tests)
private static void
sendMessage(ServerCommandSource source, String message)
private static void
sendMessage(ServerWorld world, String message, Formatting formatting)
private static void
setWorld(TestFunction testFunction, ServerWorld world)
-
Constructor Details
-
TestCommand
public TestCommand()
-
-
Method Details
-
register
public static void register(com.mojang.brigadier.CommandDispatcher<ServerCommandSource> dispatcher)- Mappings:
Namespace Name Mixin selector official a
Lmg;a(Lcom/mojang/brigadier/CommandDispatcher;)V
intermediary method_22270
Lnet/minecraft/class_4527;method_22270(Lcom/mojang/brigadier/CommandDispatcher;)V
named register
Lnet/minecraft/server/command/TestCommand;register(Lcom/mojang/brigadier/CommandDispatcher;)V
-
executeCreate
private static int executeCreate(ServerCommandSource source, String structure, int x, int y, int z)- Mappings:
Namespace Name Mixin selector official a
Lmg;a(Ldb;Ljava/lang/String;III)I
intermediary method_22268
Lnet/minecraft/class_4527;method_22268(Lnet/minecraft/class_2168;Ljava/lang/String;III)I
named executeCreate
Lnet/minecraft/server/command/TestCommand;executeCreate(Lnet/minecraft/server/command/ServerCommandSource;Ljava/lang/String;III)I
-
executePos
private static int executePos(ServerCommandSource source, String variableName) throws com.mojang.brigadier.exceptions.CommandSyntaxException- Throws:
com.mojang.brigadier.exceptions.CommandSyntaxException
- Mappings:
Namespace Name Mixin selector official a
Lmg;a(Ldb;Ljava/lang/String;)I
intermediary method_22264
Lnet/minecraft/class_4527;method_22264(Lnet/minecraft/class_2168;Ljava/lang/String;)I
named executePos
Lnet/minecraft/server/command/TestCommand;executePos(Lnet/minecraft/server/command/ServerCommandSource;Ljava/lang/String;)I
-
executeRunThis
- Mappings:
Namespace Name Mixin selector official a
Lmg;a(Ldb;)I
intermediary method_22277
Lnet/minecraft/class_4527;method_22277(Lnet/minecraft/class_2168;)I
named executeRunThis
Lnet/minecraft/server/command/TestCommand;executeRunThis(Lnet/minecraft/server/command/ServerCommandSource;)I
-
executeRunThese
- Mappings:
Namespace Name Mixin selector official b
Lmg;b(Ldb;)I
intermediary method_22281
Lnet/minecraft/class_4527;method_22281(Lnet/minecraft/class_2168;)I
named executeRunThese
Lnet/minecraft/server/command/TestCommand;executeRunThese(Lnet/minecraft/server/command/ServerCommandSource;)I
-
run
- Mappings:
Namespace Name Mixin selector official a
Lmg;a(Laav;Lfx;Lmb;)V
intermediary method_22272
Lnet/minecraft/class_4527;method_22272(Lnet/minecraft/class_3218;Lnet/minecraft/class_2338;Lnet/minecraft/class_4524;)V
named run
Lnet/minecraft/server/command/TestCommand;run(Lnet/minecraft/server/world/ServerWorld;Lnet/minecraft/util/math/BlockPos;Lnet/minecraft/test/TestSet;)V
-
onCompletion
- Mappings:
Namespace Name Mixin selector official b
Lmg;b(Laav;Lmb;)V
intermediary method_22280
Lnet/minecraft/class_4527;method_22280(Lnet/minecraft/class_3218;Lnet/minecraft/class_4524;)V
named onCompletion
Lnet/minecraft/server/command/TestCommand;onCompletion(Lnet/minecraft/server/world/ServerWorld;Lnet/minecraft/test/TestSet;)V
-
executeClearAll
- Mappings:
Namespace Name Mixin selector official a
Lmg;a(Ldb;I)I
intermediary method_22265
Lnet/minecraft/class_4527;method_22265(Lnet/minecraft/class_2168;I)I
named executeClearAll
Lnet/minecraft/server/command/TestCommand;executeClearAll(Lnet/minecraft/server/command/ServerCommandSource;I)I
-
executeRun
- Mappings:
Namespace Name Mixin selector official a
Lmg;a(Ldb;Lmh;I)I
intermediary method_22266
Lnet/minecraft/class_4527;method_22266(Lnet/minecraft/class_2168;Lnet/minecraft/class_4529;I)I
named executeRun
Lnet/minecraft/server/command/TestCommand;executeRun(Lnet/minecraft/server/command/ServerCommandSource;Lnet/minecraft/test/TestFunction;I)I
-
setWorld
- Mappings:
Namespace Name Mixin selector official a
Lmg;a(Lmh;Laav;)V
intermediary method_23647
Lnet/minecraft/class_4527;method_23647(Lnet/minecraft/class_4529;Lnet/minecraft/class_3218;)V
named setWorld
Lnet/minecraft/server/command/TestCommand;setWorld(Lnet/minecraft/test/TestFunction;Lnet/minecraft/server/world/ServerWorld;)V
-
executeRunAll
- Mappings:
Namespace Name Mixin selector official a
Lmg;a(Ldb;II)I
intermediary method_22284
Lnet/minecraft/class_4527;method_22284(Lnet/minecraft/class_2168;II)I
named executeRunAll
Lnet/minecraft/server/command/TestCommand;executeRunAll(Lnet/minecraft/server/command/ServerCommandSource;II)I
-
executeRunAll
- Mappings:
Namespace Name Mixin selector official a
Lmg;a(Ldb;Ljava/lang/String;II)I
intermediary method_22267
Lnet/minecraft/class_4527;method_22267(Lnet/minecraft/class_2168;Ljava/lang/String;II)I
named executeRunAll
Lnet/minecraft/server/command/TestCommand;executeRunAll(Lnet/minecraft/server/command/ServerCommandSource;Ljava/lang/String;II)I
-
method_29411
private static int method_29411(ServerCommandSource serverCommandSource, boolean bool, int int2, int int3)- Mappings:
Namespace Name Mixin selector official a
Lmg;a(Ldb;ZII)I
intermediary method_29411
Lnet/minecraft/class_4527;method_29411(Lnet/minecraft/class_2168;ZII)I
named method_29411
Lnet/minecraft/server/command/TestCommand;method_29411(Lnet/minecraft/server/command/ServerCommandSource;ZII)I
-
run
private static void run(ServerCommandSource source, Collection<TestFunction> testFunctions, int int2, int int3)- Mappings:
Namespace Name Mixin selector official a
Lmg;a(Ldb;Ljava/util/Collection;II)V
intermediary method_22269
Lnet/minecraft/class_4527;method_22269(Lnet/minecraft/class_2168;Ljava/util/Collection;II)V
named run
Lnet/minecraft/server/command/TestCommand;run(Lnet/minecraft/server/command/ServerCommandSource;Ljava/util/Collection;II)V
-
sendMessage
- Mappings:
Namespace Name Mixin selector official b
Lmg;b(Ldb;Ljava/lang/String;)V
intermediary method_22278
Lnet/minecraft/class_4527;method_22278(Lnet/minecraft/class_2168;Ljava/lang/String;)V
named sendMessage
Lnet/minecraft/server/command/TestCommand;sendMessage(Lnet/minecraft/server/command/ServerCommandSource;Ljava/lang/String;)V
-
method_29413
- Mappings:
Namespace Name Mixin selector official c
Lmg;c(Ldb;)I
intermediary method_29413
Lnet/minecraft/class_4527;method_29413(Lnet/minecraft/class_2168;)I
named method_29413
Lnet/minecraft/server/command/TestCommand;method_29413(Lnet/minecraft/server/command/ServerCommandSource;)I
-
executeExport
- Mappings:
Namespace Name Mixin selector official c
Lmg;c(Ldb;Ljava/lang/String;)I
intermediary method_22282
Lnet/minecraft/class_4527;method_22282(Lnet/minecraft/class_2168;Ljava/lang/String;)I
named executeExport
Lnet/minecraft/server/command/TestCommand;executeExport(Lnet/minecraft/server/command/ServerCommandSource;Ljava/lang/String;)I
-
executeImport
- Mappings:
Namespace Name Mixin selector official d
Lmg;d(Ldb;Ljava/lang/String;)I
intermediary method_22285
Lnet/minecraft/class_4527;method_22285(Lnet/minecraft/class_2168;Ljava/lang/String;)I
named executeImport
Lnet/minecraft/server/command/TestCommand;executeImport(Lnet/minecraft/server/command/ServerCommandSource;Ljava/lang/String;)I
-
sendMessage
- Mappings:
Namespace Name Mixin selector official a
Lmg;a(Laav;Ljava/lang/String;Lk;)V
intermediary method_22275
Lnet/minecraft/class_4527;method_22275(Lnet/minecraft/class_3218;Ljava/lang/String;Lnet/minecraft/class_124;)V
named sendMessage
Lnet/minecraft/server/command/TestCommand;sendMessage(Lnet/minecraft/server/world/ServerWorld;Ljava/lang/String;Lnet/minecraft/util/Formatting;)V
-