net.minecraft.server.commands

public class TriggerCommand

apa
net.minecraft.server.commands.TriggerCommand
net.minecraft.class_3153
net.minecraft.server.command.TriggerCommand
net.minecraft.src.C_5389_
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
f_139135_
private static final com.mojang.brigadier.exceptions.SimpleCommandExceptionType
b
ERROR_INVALID_OBJECTIVE
field_13764
FAILED_INVALID_EXCEPTION
f_139136_

Constructor summary

ModifierConstructor
public ()

Method summary

Modifier and TypeMethod
public static void
a(com.mojang.brigadier.CommandDispatcher<et> arg0)
register(com.mojang.brigadier.CommandDispatcher<CommandSourceStack> arg0)
method_13813(com.mojang.brigadier.CommandDispatcher<class_2168> arg0)
register(com.mojang.brigadier.CommandDispatcher<ServerCommandSource> dispatcher)
m_139141_(com.mojang.brigadier.CommandDispatcher<C_2969_> p_139142_)
public static CompletableFuture<com.mojang.brigadier.suggestion.Suggestions>
a(et 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)
m_139148_(C_2969_ p_139149_, com.mojang.brigadier.suggestion.SuggestionsBuilder p_139150_)
private static int
a(et arg0, aqv arg1, exy 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)
m_139154_(C_2969_ p_139155_, C_13_ p_310899_, C_3073_ p_310001_, int p_139157_)
private static int
b(et arg0, aqv arg1, exy 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)
m_139160_(C_2969_ p_139161_, C_13_ p_312734_, C_3073_ p_309575_, int p_139163_)
private static int
a(et arg0, aqv arg1, exy 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)
m_139151_(C_2969_ p_139152_, C_13_ p_310805_, C_3073_ p_313189_)
private static ScoreAccess
a(eyg arg0, eyf arg1, exy 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)
m_139138_(C_3076_ p_309433_, C_301985_ p_310288_, C_3073_ p_139140_)