net.minecraft.server.commands

public class TriggerCommand

aql
net.minecraft.server.commands.TriggerCommand
net.minecraft.class_3153
net.minecraft.server.command.TriggerCommand
net.minecraft.server.commands.CommandTrigger

Field summary

Modifier and TypeField
private static final com.mojang.brigadier.exceptions.SimpleCommandExceptionType
a
ERROR_NOT_PRIMED
field_13763
FAILED_UNPRIMED_EXCEPTION
private static final com.mojang.brigadier.exceptions.SimpleCommandExceptionType
b
ERROR_INVALID_OBJECTIVE
field_13764
FAILED_INVALID_EXCEPTION

Constructor summary

ModifierConstructor
public ()

Method summary

Modifier and TypeMethod
public static void
a(com.mojang.brigadier.CommandDispatcher<ew> arg0)
register(com.mojang.brigadier.CommandDispatcher<CommandSourceStack> arg0)
method_13813(com.mojang.brigadier.CommandDispatcher<class_2168> arg0)
register(com.mojang.brigadier.CommandDispatcher<ServerCommandSource> dispatcher)
public static CompletableFuture<com.mojang.brigadier.suggestion.Suggestions>
a(ew arg0, com.mojang.brigadier.suggestion.SuggestionsBuilder arg1)
suggestObjectives(CommandSourceStack arg0, com.mojang.brigadier.suggestion.SuggestionsBuilder arg1)
method_13819(class_2168 arg0, com.mojang.brigadier.suggestion.SuggestionsBuilder arg1)
suggestObjectives(ServerCommandSource source, com.mojang.brigadier.suggestion.SuggestionsBuilder builder)
private static int
a(ew arg0, asi arg1, fcv arg2, int arg3)
addValue(CommandSourceStack arg0, ServerPlayer arg1, Objective arg2, int arg3)
method_13817(class_2168 arg0, class_3222 arg1, class_266 arg2, int arg3)
executeAdd(ServerCommandSource source, ServerPlayerEntity player, ScoreboardObjective objective, int amount)
private static int
b(ew arg0, asi arg1, fcv arg2, int arg3)
setValue(CommandSourceStack arg0, ServerPlayer arg1, Objective arg2, int arg3)
method_13820(class_2168 arg0, class_3222 arg1, class_266 arg2, int arg3)
executeSet(ServerCommandSource source, ServerPlayerEntity player, ScoreboardObjective objective, int value)
private static int
a(ew arg0, asi arg1, fcv arg2)
simpleTrigger(CommandSourceStack arg0, ServerPlayer arg1, Objective arg2)
method_13818(class_2168 arg0, class_3222 arg1, class_266 arg2)
executeSimple(ServerCommandSource source, ServerPlayerEntity player, ScoreboardObjective objective)
private static ScoreAccess
a(fdd arg0, fdc arg1, fcv arg2)
getScore(Scoreboard arg0, ScoreHolder arg1, Objective arg2)
method_13821(class_269 arg0, class_9015 arg1, class_266 arg2)
getScore(Scoreboard scoreboard, ScoreHolder scoreHolder, ScoreboardObjective objective)