net.minecraft.server.command

public class TriggerCommand

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

Field summary

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

Constructor summary

ModifierConstructor
public ()

Method summary

Modifier and TypeMethod
public static void
register(com.mojang.brigadier.CommandDispatcher<CommandSourceStack> dispatcher)
method_13813(com.mojang.brigadier.CommandDispatcher<class_2168> arg0)
register(com.mojang.brigadier.CommandDispatcher<ServerCommandSource> dispatcher)
public static CompletableFuture<com.mojang.brigadier.suggestion.Suggestions>
suggestObjectives(CommandSourceStack source, com.mojang.brigadier.suggestion.SuggestionsBuilder builder)
method_13819(class_2168 arg0, com.mojang.brigadier.suggestion.SuggestionsBuilder arg1)
suggestObjectives(ServerCommandSource source, com.mojang.brigadier.suggestion.SuggestionsBuilder builder)
private static int
addValue(CommandSourceStack source, ServerPlayer player, Objective objective, int amount)
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
setValue(CommandSourceStack source, ServerPlayer player, Objective objective, int amount)
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
simpleTrigger(CommandSourceStack source, ServerPlayer player, Objective objective)
method_13818(class_2168 arg0, class_3222 arg1, class_266 arg2)
executeSimple(ServerCommandSource source, ServerPlayerEntity player, ScoreboardObjective objective)
private static ScoreAccess
getScore(Scoreboard scoreboard, ScoreHolder scoreHolder, Objective objective)
method_13821(class_269 arg0, class_9015 arg1, class_266 arg2)
getScore(Scoreboard scoreboard, ScoreHolder scoreHolder, ScoreboardObjective objective)
private static Text
lambda$simpleTrigger$0(Objective arg0)
method_52134(class_266 arg0)
method_52134(ScoreboardObjective arg0)
private static Text
lambda$setValue$0(Objective arg0, int arg1)
method_52135(class_266 arg0, int arg1)
method_52135(ScoreboardObjective arg0, int arg1)
private static Text
lambda$addValue$0(Objective arg0, int arg1)
method_52136(class_266 arg0, int arg1)
method_52136(ScoreboardObjective arg0, int arg1)
private static int
lambda$register$3(com.mojang.brigadier.context.CommandContext arg0)
method_13816(com.mojang.brigadier.context.CommandContext arg0)
method_13816(com.mojang.brigadier.context.CommandContext context)
private static int
lambda$register$2(com.mojang.brigadier.context.CommandContext arg0)
method_13812(com.mojang.brigadier.context.CommandContext arg0)
method_13812(com.mojang.brigadier.context.CommandContext context)
private static int
lambda$register$1(com.mojang.brigadier.context.CommandContext arg0)
method_13815(com.mojang.brigadier.context.CommandContext arg0)
method_13815(com.mojang.brigadier.context.CommandContext context)
private static CompletableFuture
lambda$register$0(com.mojang.brigadier.context.CommandContext arg0, com.mojang.brigadier.suggestion.SuggestionsBuilder arg1)
method_13814(com.mojang.brigadier.context.CommandContext arg0, com.mojang.brigadier.suggestion.SuggestionsBuilder arg1)
method_13814(com.mojang.brigadier.context.CommandContext context, com.mojang.brigadier.suggestion.SuggestionsBuilder builder)