Package net.minecraft.server.command
Class TriggerCommand
java.lang.Object
net.minecraft.server.command.TriggerCommand
- Mappings:
Namespace Name named net/minecraft/server/command/TriggerCommandintermediary net/minecraft/class_3153official apa
-
Field Summary
FieldsModifier and TypeFieldDescriptionprivate static final com.mojang.brigadier.exceptions.SimpleCommandExceptionTypeprivate static final com.mojang.brigadier.exceptions.SimpleCommandExceptionType -
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionprivate static intexecuteAdd(ServerCommandSource source, ServerPlayerEntity player, ScoreboardObjective objective, int amount) private static intexecuteSet(ServerCommandSource source, ServerPlayerEntity player, ScoreboardObjective objective, int value) private static intexecuteSimple(ServerCommandSource source, ServerPlayerEntity player, ScoreboardObjective objective) private static ScoreAccessgetScore(Scoreboard scoreboard, ScoreHolder scoreHolder, ScoreboardObjective objective) static voidregister(com.mojang.brigadier.CommandDispatcher<ServerCommandSource> dispatcher) static CompletableFuture<com.mojang.brigadier.suggestion.Suggestions> suggestObjectives(ServerCommandSource source, com.mojang.brigadier.suggestion.SuggestionsBuilder builder)
-
Field Details
-
FAILED_UNPRIMED_EXCEPTION
private static final com.mojang.brigadier.exceptions.SimpleCommandExceptionType FAILED_UNPRIMED_EXCEPTION- Mappings:
Namespace Name Mixin selector named FAILED_UNPRIMED_EXCEPTIONLnet/minecraft/server/command/TriggerCommand;FAILED_UNPRIMED_EXCEPTION:Lcom/mojang/brigadier/exceptions/SimpleCommandExceptionType;intermediary field_13763Lnet/minecraft/class_3153;field_13763:Lcom/mojang/brigadier/exceptions/SimpleCommandExceptionType;official aLapa;a:Lcom/mojang/brigadier/exceptions/SimpleCommandExceptionType;
-
FAILED_INVALID_EXCEPTION
private static final com.mojang.brigadier.exceptions.SimpleCommandExceptionType FAILED_INVALID_EXCEPTION- Mappings:
Namespace Name Mixin selector named FAILED_INVALID_EXCEPTIONLnet/minecraft/server/command/TriggerCommand;FAILED_INVALID_EXCEPTION:Lcom/mojang/brigadier/exceptions/SimpleCommandExceptionType;intermediary field_13764Lnet/minecraft/class_3153;field_13764:Lcom/mojang/brigadier/exceptions/SimpleCommandExceptionType;official bLapa;b:Lcom/mojang/brigadier/exceptions/SimpleCommandExceptionType;
-
-
Constructor Details
-
TriggerCommand
public TriggerCommand()
-
-
Method Details
-
register
- Mappings:
Namespace Name Mixin selector named registerLnet/minecraft/server/command/TriggerCommand;register(Lcom/mojang/brigadier/CommandDispatcher;)Vintermediary method_13813Lnet/minecraft/class_3153;method_13813(Lcom/mojang/brigadier/CommandDispatcher;)Vofficial aLapa;a(Lcom/mojang/brigadier/CommandDispatcher;)V
-
suggestObjectives
public static CompletableFuture<com.mojang.brigadier.suggestion.Suggestions> suggestObjectives(ServerCommandSource source, com.mojang.brigadier.suggestion.SuggestionsBuilder builder) - Mappings:
Namespace Name Mixin selector named suggestObjectivesLnet/minecraft/server/command/TriggerCommand;suggestObjectives(Lnet/minecraft/server/command/ServerCommandSource;Lcom/mojang/brigadier/suggestion/SuggestionsBuilder;)Ljava/util/concurrent/CompletableFuture;intermediary method_13819Lnet/minecraft/class_3153;method_13819(Lnet/minecraft/class_2168;Lcom/mojang/brigadier/suggestion/SuggestionsBuilder;)Ljava/util/concurrent/CompletableFuture;official aLapa;a(Let;Lcom/mojang/brigadier/suggestion/SuggestionsBuilder;)Ljava/util/concurrent/CompletableFuture;
-
executeAdd
private static int executeAdd(ServerCommandSource source, ServerPlayerEntity player, ScoreboardObjective objective, int amount) throws com.mojang.brigadier.exceptions.CommandSyntaxException - Throws:
com.mojang.brigadier.exceptions.CommandSyntaxException- Mappings:
Namespace Name Mixin selector named executeAddLnet/minecraft/server/command/TriggerCommand;executeAdd(Lnet/minecraft/server/command/ServerCommandSource;Lnet/minecraft/server/network/ServerPlayerEntity;Lnet/minecraft/scoreboard/ScoreboardObjective;I)Iintermediary method_13817Lnet/minecraft/class_3153;method_13817(Lnet/minecraft/class_2168;Lnet/minecraft/class_3222;Lnet/minecraft/class_266;I)Iofficial aLapa;a(Let;Laqv;Lexy;I)I
-
executeSet
private static int executeSet(ServerCommandSource source, ServerPlayerEntity player, ScoreboardObjective objective, int value) throws com.mojang.brigadier.exceptions.CommandSyntaxException - Throws:
com.mojang.brigadier.exceptions.CommandSyntaxException- Mappings:
Namespace Name Mixin selector named executeSetLnet/minecraft/server/command/TriggerCommand;executeSet(Lnet/minecraft/server/command/ServerCommandSource;Lnet/minecraft/server/network/ServerPlayerEntity;Lnet/minecraft/scoreboard/ScoreboardObjective;I)Iintermediary method_13820Lnet/minecraft/class_3153;method_13820(Lnet/minecraft/class_2168;Lnet/minecraft/class_3222;Lnet/minecraft/class_266;I)Iofficial bLapa;b(Let;Laqv;Lexy;I)I
-
executeSimple
private static int executeSimple(ServerCommandSource source, ServerPlayerEntity player, ScoreboardObjective objective) throws com.mojang.brigadier.exceptions.CommandSyntaxException - Throws:
com.mojang.brigadier.exceptions.CommandSyntaxException- Mappings:
Namespace Name Mixin selector named executeSimpleLnet/minecraft/server/command/TriggerCommand;executeSimple(Lnet/minecraft/server/command/ServerCommandSource;Lnet/minecraft/server/network/ServerPlayerEntity;Lnet/minecraft/scoreboard/ScoreboardObjective;)Iintermediary method_13818Lnet/minecraft/class_3153;method_13818(Lnet/minecraft/class_2168;Lnet/minecraft/class_3222;Lnet/minecraft/class_266;)Iofficial aLapa;a(Let;Laqv;Lexy;)I
-
getScore
private static ScoreAccess getScore(Scoreboard scoreboard, ScoreHolder scoreHolder, ScoreboardObjective objective) throws com.mojang.brigadier.exceptions.CommandSyntaxException - Throws:
com.mojang.brigadier.exceptions.CommandSyntaxException- Mappings:
Namespace Name Mixin selector named getScoreLnet/minecraft/server/command/TriggerCommand;getScore(Lnet/minecraft/scoreboard/Scoreboard;Lnet/minecraft/scoreboard/ScoreHolder;Lnet/minecraft/scoreboard/ScoreboardObjective;)Lnet/minecraft/scoreboard/ScoreAccess;intermediary method_13821Lnet/minecraft/class_3153;method_13821(Lnet/minecraft/class_269;Lnet/minecraft/class_9015;Lnet/minecraft/class_266;)Lnet/minecraft/class_9014;official aLapa;a(Leyg;Leyf;Lexy;)Leye;
-