Package net.minecraft.server.command
Class TestCommand
java.lang.Object
net.minecraft.server.command.TestCommand
- Mappings:
Namespace Name official skintermediary net/minecraft/class_4527named net/minecraft/server/command/TestCommand
-
Nested Class Summary
Nested ClassesModifier and TypeClassDescriptionstatic classprivate static final recordstatic final record -
Field Summary
FieldsModifier and TypeFieldDescriptionprivate static final intprivate static final intstatic final intstatic final intprivate static final intprivate static final intprivate static final intprivate static final intprivate static final intprivate static final Stringprivate static final class_9123.class_9124<TestCommand.class_9121>private static final Logger -
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionprivate static booleancheckStructure(ServerWorld world, String string) private static intexecuteCreate(ServerCommandSource source, String testName, int x, int y, int z) private static intexecuteExport(ServerCommandSource source, String testName) private static intexecuteImport(ServerCommandSource source, String testName) private static intexecutePos(ServerCommandSource source, String variableName) (package private) static intexport(ServerCommandSource source, StructureBlockBlockEntity blockEntity) (package private) static BlockPosgetStructurePos(ServerCommandSource source) (package private) static intprivate static com.mojang.brigadier.builder.ArgumentBuilder<ServerCommandSource,?> method_56257(com.mojang.brigadier.builder.ArgumentBuilder<ServerCommandSource, ?> argumentBuilder, Function<com.mojang.brigadier.context.CommandContext<ServerCommandSource>, TestCommand.class_9121> function) private static com.mojang.brigadier.builder.ArgumentBuilder<ServerCommandSource,?> method_56258(com.mojang.brigadier.builder.ArgumentBuilder<ServerCommandSource, ?> argumentBuilder, Function<com.mojang.brigadier.context.CommandContext<ServerCommandSource>, TestCommand.class_9121> function, Function<com.mojang.brigadier.builder.ArgumentBuilder<ServerCommandSource, ?>, com.mojang.brigadier.builder.ArgumentBuilder<ServerCommandSource, ?>> function2) (package private) static intmethod_56259(ServerCommandSource serverCommandSource, ServerWorld serverWorld, TestUtil testUtil) (package private) static Stream<GameTestState>method_56261(ServerCommandSource serverCommandSource, class_9118 class_9118, class_9119 class_9119) (package private) static Stream<GameTestState>method_56262(ServerCommandSource serverCommandSource, class_9118 class_9118, class_9125 class_9125, int int2) private static Optional<GameTestState>method_56264(BlockPos blockPos, ServerWorld serverWorld, class_9118 class_9118) private static intmethod_56267(GameTestState gameTestState) private static com.mojang.brigadier.builder.ArgumentBuilder<ServerCommandSource,?> method_56268(com.mojang.brigadier.builder.ArgumentBuilder<ServerCommandSource, ?> argumentBuilder, Function<com.mojang.brigadier.context.CommandContext<ServerCommandSource>, TestCommand.class_9121> function) static voidregister(com.mojang.brigadier.CommandDispatcher<ServerCommandSource> dispatcher) (package private) static voidsendMessage(ServerCommandSource source, String message) (package private) static voidsendMessage(ServerWorld world, String message, Formatting formatting)
-
Field Details
-
field_33180
public static final int field_33180- See Also:
- Mappings:
Namespace Name Mixin selector official aLsk;a:Iintermediary field_33180Lnet/minecraft/class_4527;field_33180:Inamed field_33180Lnet/minecraft/server/command/TestCommand;field_33180:I
-
field_33181
public static final int field_33181- See Also:
- Mappings:
Namespace Name Mixin selector official bLsk;b:Iintermediary field_33181Lnet/minecraft/class_4527;field_33181:Inamed field_33181Lnet/minecraft/server/command/TestCommand;field_33181:I
-
LOGGER
- Mappings:
Namespace Name Mixin selector official cLsk;c:Lorg/slf4j/Logger;intermediary field_45665Lnet/minecraft/class_4527;field_45665:Lorg/slf4j/Logger;named LOGGERLnet/minecraft/server/command/TestCommand;LOGGER:Lorg/slf4j/Logger;
-
field_33178
private static final int field_33178- See Also:
- Mappings:
Namespace Name Mixin selector official dLsk;d:Iintermediary field_33178Lnet/minecraft/class_4527;field_33178:Inamed field_33178Lnet/minecraft/server/command/TestCommand;field_33178:I
-
field_33179
private static final int field_33179- See Also:
- Mappings:
Namespace Name Mixin selector official eLsk;e:Iintermediary field_33179Lnet/minecraft/class_4527;field_33179:Inamed field_33179Lnet/minecraft/server/command/TestCommand;field_33179:I
-
field_33182
private static final int field_33182- See Also:
- Mappings:
Namespace Name Mixin selector official fLsk;f:Iintermediary field_33182Lnet/minecraft/class_4527;field_33182:Inamed field_33182Lnet/minecraft/server/command/TestCommand;field_33182:I
-
field_33183
private static final int field_33183- See Also:
- Mappings:
Namespace Name Mixin selector official gLsk;g:Iintermediary field_33183Lnet/minecraft/class_4527;field_33183:Inamed field_33183Lnet/minecraft/server/command/TestCommand;field_33183:I
-
field_33184
private static final int field_33184- See Also:
- Mappings:
Namespace Name Mixin selector official hLsk;h:Iintermediary field_33184Lnet/minecraft/class_4527;field_33184:Inamed field_33184Lnet/minecraft/server/command/TestCommand;field_33184:I
-
field_33185
private static final int field_33185- See Also:
- Mappings:
Namespace Name Mixin selector official iLsk;i:Iintermediary field_33185Lnet/minecraft/class_4527;field_33185:Inamed field_33185Lnet/minecraft/server/command/TestCommand;field_33185:I
-
field_33186
private static final int field_33186- See Also:
- Mappings:
Namespace Name Mixin selector official jLsk;j:Iintermediary field_33186Lnet/minecraft/class_4527;field_33186:Inamed field_33186Lnet/minecraft/server/command/TestCommand;field_33186:I
-
field_48504
- See Also:
- Mappings:
Namespace Name Mixin selector official kLsk;k:Ljava/lang/String;intermediary field_48504Lnet/minecraft/class_4527;field_48504:Ljava/lang/String;named field_48504Lnet/minecraft/server/command/TestCommand;field_48504:Ljava/lang/String;
-
field_48505
- Mappings:
Namespace Name Mixin selector official lLsk;l:Lsl$a;intermediary field_48505Lnet/minecraft/class_4527;field_48505:Lnet/minecraft/class_9123$class_9124;named field_48505Lnet/minecraft/server/command/TestCommand;field_48505:Lnet/minecraft/class_9123$class_9124;
-
-
Constructor Details
-
TestCommand
public TestCommand()
-
-
Method Details
-
method_56258
private static com.mojang.brigadier.builder.ArgumentBuilder<ServerCommandSource,?> method_56258(com.mojang.brigadier.builder.ArgumentBuilder<ServerCommandSource, ?> argumentBuilder, Function<com.mojang.brigadier.context.CommandContext<ServerCommandSource>, TestCommand.class_9121> function, Function<com.mojang.brigadier.builder.ArgumentBuilder<ServerCommandSource, ?>, com.mojang.brigadier.builder.ArgumentBuilder<ServerCommandSource, ?>> function2) - Mappings:
Namespace Name Mixin selector official aLsk;a(Lcom/mojang/brigadier/builder/ArgumentBuilder;Ljava/util/function/Function;Ljava/util/function/Function;)Lcom/mojang/brigadier/builder/ArgumentBuilder;intermediary method_56258Lnet/minecraft/class_4527;method_56258(Lcom/mojang/brigadier/builder/ArgumentBuilder;Ljava/util/function/Function;Ljava/util/function/Function;)Lcom/mojang/brigadier/builder/ArgumentBuilder;named method_56258Lnet/minecraft/server/command/TestCommand;method_56258(Lcom/mojang/brigadier/builder/ArgumentBuilder;Ljava/util/function/Function;Ljava/util/function/Function;)Lcom/mojang/brigadier/builder/ArgumentBuilder;
-
method_56257
private static com.mojang.brigadier.builder.ArgumentBuilder<ServerCommandSource,?> method_56257(com.mojang.brigadier.builder.ArgumentBuilder<ServerCommandSource, ?> argumentBuilder, Function<com.mojang.brigadier.context.CommandContext<ServerCommandSource>, TestCommand.class_9121> function) - Mappings:
Namespace Name Mixin selector official aLsk;a(Lcom/mojang/brigadier/builder/ArgumentBuilder;Ljava/util/function/Function;)Lcom/mojang/brigadier/builder/ArgumentBuilder;intermediary method_56257Lnet/minecraft/class_4527;method_56257(Lcom/mojang/brigadier/builder/ArgumentBuilder;Ljava/util/function/Function;)Lcom/mojang/brigadier/builder/ArgumentBuilder;named method_56257Lnet/minecraft/server/command/TestCommand;method_56257(Lcom/mojang/brigadier/builder/ArgumentBuilder;Ljava/util/function/Function;)Lcom/mojang/brigadier/builder/ArgumentBuilder;
-
method_56268
private static com.mojang.brigadier.builder.ArgumentBuilder<ServerCommandSource,?> method_56268(com.mojang.brigadier.builder.ArgumentBuilder<ServerCommandSource, ?> argumentBuilder, Function<com.mojang.brigadier.context.CommandContext<ServerCommandSource>, TestCommand.class_9121> function) - Mappings:
Namespace Name Mixin selector official bLsk;b(Lcom/mojang/brigadier/builder/ArgumentBuilder;Ljava/util/function/Function;)Lcom/mojang/brigadier/builder/ArgumentBuilder;intermediary method_56268Lnet/minecraft/class_4527;method_56268(Lcom/mojang/brigadier/builder/ArgumentBuilder;Ljava/util/function/Function;)Lcom/mojang/brigadier/builder/ArgumentBuilder;named method_56268Lnet/minecraft/server/command/TestCommand;method_56268(Lcom/mojang/brigadier/builder/ArgumentBuilder;Ljava/util/function/Function;)Lcom/mojang/brigadier/builder/ArgumentBuilder;
-
register
- Mappings:
Namespace Name Mixin selector official aLsk;a(Lcom/mojang/brigadier/CommandDispatcher;)Vintermediary method_22270Lnet/minecraft/class_4527;method_22270(Lcom/mojang/brigadier/CommandDispatcher;)Vnamed registerLnet/minecraft/server/command/TestCommand;register(Lcom/mojang/brigadier/CommandDispatcher;)V
-
method_56267
- Mappings:
Namespace Name Mixin selector official aLsk;a(Lrs;)Iintermediary method_56267Lnet/minecraft/class_4527;method_56267(Lnet/minecraft/class_4517;)Inamed method_56267Lnet/minecraft/server/command/TestCommand;method_56267(Lnet/minecraft/test/GameTestState;)I
-
method_56261
static Stream<GameTestState> method_56261(ServerCommandSource serverCommandSource, class_9118 class_9118, class_9119 class_9119) - Mappings:
Namespace Name Mixin selector official aLsk;a(Ldu;Lsf;Lsg;)Ljava/util/stream/Stream;intermediary method_56261Lnet/minecraft/class_4527;method_56261(Lnet/minecraft/class_2168;Lnet/minecraft/class_9118;Lnet/minecraft/class_9119;)Ljava/util/stream/Stream;named method_56261Lnet/minecraft/server/command/TestCommand;method_56261(Lnet/minecraft/server/command/ServerCommandSource;Lnet/minecraft/class_9118;Lnet/minecraft/class_9119;)Ljava/util/stream/Stream;
-
method_56262
static Stream<GameTestState> method_56262(ServerCommandSource serverCommandSource, class_9118 class_9118, class_9125 class_9125, int int2) - Mappings:
Namespace Name Mixin selector official aLsk;a(Ldu;Lsf;Lso;I)Ljava/util/stream/Stream;intermediary method_56262Lnet/minecraft/class_4527;method_56262(Lnet/minecraft/class_2168;Lnet/minecraft/class_9118;Lnet/minecraft/class_9125;I)Ljava/util/stream/Stream;named method_56262Lnet/minecraft/server/command/TestCommand;method_56262(Lnet/minecraft/server/command/ServerCommandSource;Lnet/minecraft/class_9118;Lnet/minecraft/class_9125;I)Ljava/util/stream/Stream;
-
method_56264
private static Optional<GameTestState> method_56264(BlockPos blockPos, ServerWorld serverWorld, class_9118 class_9118) - Mappings:
Namespace Name Mixin selector official aLsk;a(Lhz;Laov;Lsf;)Ljava/util/Optional;intermediary method_56264Lnet/minecraft/class_4527;method_56264(Lnet/minecraft/class_2338;Lnet/minecraft/class_3218;Lnet/minecraft/class_9118;)Ljava/util/Optional;named method_56264Lnet/minecraft/server/command/TestCommand;method_56264(Lnet/minecraft/util/math/BlockPos;Lnet/minecraft/server/world/ServerWorld;Lnet/minecraft/class_9118;)Ljava/util/Optional;
-
executeCreate
- Mappings:
Namespace Name Mixin selector official aLsk;a(Ldu;Ljava/lang/String;III)Iintermediary method_22268Lnet/minecraft/class_4527;method_22268(Lnet/minecraft/class_2168;Ljava/lang/String;III)Inamed executeCreateLnet/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 aLsk;a(Ldu;Ljava/lang/String;)Iintermediary method_22264Lnet/minecraft/class_4527;method_22264(Lnet/minecraft/class_2168;Ljava/lang/String;)Inamed executePosLnet/minecraft/server/command/TestCommand;executePos(Lnet/minecraft/server/command/ServerCommandSource;Ljava/lang/String;)I
-
method_56254
static int method_56254()- Mappings:
Namespace Name Mixin selector official aLsk;a()Iintermediary method_56254Lnet/minecraft/class_4527;method_56254()Inamed method_56254Lnet/minecraft/server/command/TestCommand;method_56254()I
-
method_56259
static int method_56259(ServerCommandSource serverCommandSource, ServerWorld serverWorld, TestUtil testUtil) - Mappings:
Namespace Name Mixin selector official aLsk;a(Ldu;Laov;Lrv;)Iintermediary method_56259Lnet/minecraft/class_4527;method_56259(Lnet/minecraft/class_2168;Lnet/minecraft/class_3218;Lnet/minecraft/class_4520;)Inamed method_56259Lnet/minecraft/server/command/TestCommand;method_56259(Lnet/minecraft/server/command/ServerCommandSource;Lnet/minecraft/server/world/ServerWorld;Lnet/minecraft/test/TestUtil;)I
-
export
- Mappings:
Namespace Name Mixin selector official aLsk;a(Ldu;Ldkh;)Iintermediary method_54905Lnet/minecraft/class_4527;method_54905(Lnet/minecraft/class_2168;Lnet/minecraft/class_2633;)Inamed exportLnet/minecraft/server/command/TestCommand;export(Lnet/minecraft/server/command/ServerCommandSource;Lnet/minecraft/block/entity/StructureBlockBlockEntity;)I
-
executeExport
- Mappings:
Namespace Name Mixin selector official bLsk;b(Ldu;Ljava/lang/String;)Iintermediary method_22282Lnet/minecraft/class_4527;method_22282(Lnet/minecraft/class_2168;Ljava/lang/String;)Inamed executeExportLnet/minecraft/server/command/TestCommand;executeExport(Lnet/minecraft/server/command/ServerCommandSource;Ljava/lang/String;)I
-
checkStructure
- Mappings:
Namespace Name Mixin selector official aLsk;a(Laov;Ljava/lang/String;)Zintermediary method_54904Lnet/minecraft/class_4527;method_54904(Lnet/minecraft/class_3218;Ljava/lang/String;)Znamed checkStructureLnet/minecraft/server/command/TestCommand;checkStructure(Lnet/minecraft/server/world/ServerWorld;Ljava/lang/String;)Z
-
getStructurePos
- Mappings:
Namespace Name Mixin selector official aLsk;a(Ldu;)Lhz;intermediary method_54850Lnet/minecraft/class_4527;method_54850(Lnet/minecraft/class_2168;)Lnet/minecraft/class_2338;named getStructurePosLnet/minecraft/server/command/TestCommand;getStructurePos(Lnet/minecraft/server/command/ServerCommandSource;)Lnet/minecraft/util/math/BlockPos;
-
sendMessage
- Mappings:
Namespace Name Mixin selector official cLsk;c(Ldu;Ljava/lang/String;)Vintermediary method_22278Lnet/minecraft/class_4527;method_22278(Lnet/minecraft/class_2168;Ljava/lang/String;)Vnamed sendMessageLnet/minecraft/server/command/TestCommand;sendMessage(Lnet/minecraft/server/command/ServerCommandSource;Ljava/lang/String;)V
-
executeImport
- Mappings:
Namespace Name Mixin selector official dLsk;d(Ldu;Ljava/lang/String;)Iintermediary method_22285Lnet/minecraft/class_4527;method_22285(Lnet/minecraft/class_2168;Ljava/lang/String;)Inamed executeImportLnet/minecraft/server/command/TestCommand;executeImport(Lnet/minecraft/server/command/ServerCommandSource;Ljava/lang/String;)I
-
sendMessage
- Mappings:
Namespace Name Mixin selector official aLsk;a(Laov;Ljava/lang/String;Ln;)Vintermediary method_22275Lnet/minecraft/class_4527;method_22275(Lnet/minecraft/class_3218;Ljava/lang/String;Lnet/minecraft/class_124;)Vnamed sendMessageLnet/minecraft/server/command/TestCommand;sendMessage(Lnet/minecraft/server/world/ServerWorld;Ljava/lang/String;Lnet/minecraft/util/Formatting;)V
-