Package net.minecraft.server.command
Class TriggerCommand
java.lang.Object
net.minecraft.server.command.TriggerCommand
- Mappings:
Namespace Name official alj
intermediary net/minecraft/class_3153
named net/minecraft/server/command/TriggerCommand
-
Field Summary
FieldsModifier and TypeFieldDescriptionprivate static final com.mojang.brigadier.exceptions.SimpleCommandExceptionType
private static final com.mojang.brigadier.exceptions.SimpleCommandExceptionType
-
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionprivate static int
executeAdd
(ServerCommandSource source, ServerPlayerEntity serverPlayerEntity, ScoreboardObjective scoreboardObjective, int int2) private static int
executeSet
(ServerCommandSource source, ServerPlayerEntity serverPlayerEntity, ScoreboardObjective scoreboardObjective, int int2) private static int
executeSimple
(ServerCommandSource source, ServerPlayerEntity serverPlayerEntity, ScoreboardObjective scoreboardObjective) private static class_9014
getScore
(Scoreboard scoreboard, class_9015 class_9015, ScoreboardObjective scoreboardObjective) static void
register
(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 official a
Lalj;a:Lcom/mojang/brigadier/exceptions/SimpleCommandExceptionType;
intermediary field_13763
Lnet/minecraft/class_3153;field_13763:Lcom/mojang/brigadier/exceptions/SimpleCommandExceptionType;
named FAILED_UNPRIMED_EXCEPTION
Lnet/minecraft/server/command/TriggerCommand;FAILED_UNPRIMED_EXCEPTION:Lcom/mojang/brigadier/exceptions/SimpleCommandExceptionType;
-
FAILED_INVALID_EXCEPTION
private static final com.mojang.brigadier.exceptions.SimpleCommandExceptionType FAILED_INVALID_EXCEPTION- Mappings:
Namespace Name Mixin selector official b
Lalj;b:Lcom/mojang/brigadier/exceptions/SimpleCommandExceptionType;
intermediary field_13764
Lnet/minecraft/class_3153;field_13764:Lcom/mojang/brigadier/exceptions/SimpleCommandExceptionType;
named FAILED_INVALID_EXCEPTION
Lnet/minecraft/server/command/TriggerCommand;FAILED_INVALID_EXCEPTION:Lcom/mojang/brigadier/exceptions/SimpleCommandExceptionType;
-
-
Constructor Details
-
TriggerCommand
public TriggerCommand()
-
-
Method Details
-
register
- Mappings:
Namespace Name Mixin selector official a
Lalj;a(Lcom/mojang/brigadier/CommandDispatcher;)V
intermediary method_13813
Lnet/minecraft/class_3153;method_13813(Lcom/mojang/brigadier/CommandDispatcher;)V
named register
Lnet/minecraft/server/command/TriggerCommand;register(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 official a
Lalj;a(Lds;Lcom/mojang/brigadier/suggestion/SuggestionsBuilder;)Ljava/util/concurrent/CompletableFuture;
intermediary method_13819
Lnet/minecraft/class_3153;method_13819(Lnet/minecraft/class_2168;Lcom/mojang/brigadier/suggestion/SuggestionsBuilder;)Ljava/util/concurrent/CompletableFuture;
named suggestObjectives
Lnet/minecraft/server/command/TriggerCommand;suggestObjectives(Lnet/minecraft/server/command/ServerCommandSource;Lcom/mojang/brigadier/suggestion/SuggestionsBuilder;)Ljava/util/concurrent/CompletableFuture;
-
executeAdd
private static int executeAdd(ServerCommandSource source, ServerPlayerEntity serverPlayerEntity, ScoreboardObjective scoreboardObjective, int int2) throws com.mojang.brigadier.exceptions.CommandSyntaxException - Throws:
com.mojang.brigadier.exceptions.CommandSyntaxException
- Mappings:
Namespace Name Mixin selector official a
Lalj;a(Lds;Lana;Lemi;I)I
intermediary method_13817
Lnet/minecraft/class_3153;method_13817(Lnet/minecraft/class_2168;Lnet/minecraft/class_3222;Lnet/minecraft/class_266;I)I
named executeAdd
Lnet/minecraft/server/command/TriggerCommand;executeAdd(Lnet/minecraft/server/command/ServerCommandSource;Lnet/minecraft/server/network/ServerPlayerEntity;Lnet/minecraft/scoreboard/ScoreboardObjective;I)I
-
executeSet
private static int executeSet(ServerCommandSource source, ServerPlayerEntity serverPlayerEntity, ScoreboardObjective scoreboardObjective, int int2) throws com.mojang.brigadier.exceptions.CommandSyntaxException - Throws:
com.mojang.brigadier.exceptions.CommandSyntaxException
- Mappings:
Namespace Name Mixin selector official b
Lalj;b(Lds;Lana;Lemi;I)I
intermediary method_13820
Lnet/minecraft/class_3153;method_13820(Lnet/minecraft/class_2168;Lnet/minecraft/class_3222;Lnet/minecraft/class_266;I)I
named executeSet
Lnet/minecraft/server/command/TriggerCommand;executeSet(Lnet/minecraft/server/command/ServerCommandSource;Lnet/minecraft/server/network/ServerPlayerEntity;Lnet/minecraft/scoreboard/ScoreboardObjective;I)I
-
executeSimple
private static int executeSimple(ServerCommandSource source, ServerPlayerEntity serverPlayerEntity, ScoreboardObjective scoreboardObjective) throws com.mojang.brigadier.exceptions.CommandSyntaxException - Throws:
com.mojang.brigadier.exceptions.CommandSyntaxException
- Mappings:
Namespace Name Mixin selector official a
Lalj;a(Lds;Lana;Lemi;)I
intermediary method_13818
Lnet/minecraft/class_3153;method_13818(Lnet/minecraft/class_2168;Lnet/minecraft/class_3222;Lnet/minecraft/class_266;)I
named executeSimple
Lnet/minecraft/server/command/TriggerCommand;executeSimple(Lnet/minecraft/server/command/ServerCommandSource;Lnet/minecraft/server/network/ServerPlayerEntity;Lnet/minecraft/scoreboard/ScoreboardObjective;)I
-
getScore
private static class_9014 getScore(Scoreboard scoreboard, class_9015 class_9015, ScoreboardObjective scoreboardObjective) throws com.mojang.brigadier.exceptions.CommandSyntaxException - Throws:
com.mojang.brigadier.exceptions.CommandSyntaxException
- Mappings:
Namespace Name Mixin selector official a
Lalj;a(Lemq;Lemp;Lemi;)Lemo;
intermediary method_13821
Lnet/minecraft/class_3153;method_13821(Lnet/minecraft/class_269;Lnet/minecraft/class_9015;Lnet/minecraft/class_266;)Lnet/minecraft/class_9014;
named getScore
Lnet/minecraft/server/command/TriggerCommand;getScore(Lnet/minecraft/scoreboard/Scoreboard;Lnet/minecraft/class_9015;Lnet/minecraft/scoreboard/ScoreboardObjective;)Lnet/minecraft/class_9014;
-