net.minecraft.server.commands

public class TriggerCommand

agr
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<ds> 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(ds 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(ds arg0, eff arg1, int arg2)
addValue(CommandSourceStack arg0, Score arg1, int arg2)
method_13817(class_2168 arg0, class_267 arg1, int arg2)
executeAdd(ServerCommandSource source, ScoreboardPlayerScore score, int value)
m_139154_(C_2969_ p_139155_, C_3075_ p_139156_, int p_139157_)
private static int
b(ds arg0, eff arg1, int arg2)
setValue(CommandSourceStack arg0, Score arg1, int arg2)
method_13820(class_2168 arg0, class_267 arg1, int arg2)
executeSet(ServerCommandSource source, ScoreboardPlayerScore score, int value)
m_139160_(C_2969_ p_139161_, C_3075_ p_139162_, int p_139163_)
private static int
a(ds arg0, eff arg1)
simpleTrigger(CommandSourceStack arg0, Score arg1)
method_13818(class_2168 arg0, class_267 arg1)
executeSimple(ServerCommandSource source, ScoreboardPlayerScore score)
m_139151_(C_2969_ p_139152_, C_3075_ p_139153_)
private static Score
a(aig arg0, efd arg1)
getScore(ServerPlayer arg0, Objective arg1)
method_13821(class_3222 arg0, class_266 arg1)
getScore(ServerPlayerEntity player, ScoreboardObjective objective)
m_139138_(C_13_ p_139139_, C_3073_ p_139140_)