net.minecraft.server.commands

public class EffectCommands

and
net.minecraft.server.commands.EffectCommands
net.minecraft.class_3043
net.minecraft.server.command.EffectCommand
net.minecraft.src.C_5312_
net.minecraft.server.commands.CommandEffect

Field summary

Modifier and TypeField
private static final com.mojang.brigadier.exceptions.SimpleCommandExceptionType
a
ERROR_GIVE_FAILED
field_13607
GIVE_FAILED_EXCEPTION
f_136949_
private static final com.mojang.brigadier.exceptions.SimpleCommandExceptionType
b
ERROR_CLEAR_EVERYTHING_FAILED
field_13609
CLEAR_EVERYTHING_FAILED_EXCEPTION
f_136950_
private static final com.mojang.brigadier.exceptions.SimpleCommandExceptionType
c
ERROR_CLEAR_SPECIFIC_FAILED
field_13608
CLEAR_SPECIFIC_FAILED_EXCEPTION
f_136951_

Constructor summary

ModifierConstructor
public ()

Method summary

Modifier and TypeMethod
public static void
a(com.mojang.brigadier.CommandDispatcher<ep> arg0, el arg1)
register(com.mojang.brigadier.CommandDispatcher<CommandSourceStack> arg0, CommandBuildContext arg1)
method_13229(com.mojang.brigadier.CommandDispatcher<class_2168> arg0, class_7157 arg1)
register(com.mojang.brigadier.CommandDispatcher<ServerCommandSource> dispatcher, CommandRegistryAccess registryAccess)
m_136953_(com.mojang.brigadier.CommandDispatcher<C_2969_> p_136954_, C_213173_ p_251610_)
private static int
a(ep arg0, Collection<? extends bsw> arg1, ji<bsc> arg2, Integer arg3, int arg4, boolean arg5)
giveEffect(CommandSourceStack arg0, Collection<? extends Entity> arg1, Holder<MobEffect> arg2, Integer arg3, int arg4, boolean arg5)
method_13227(class_2168 arg0, Collection<? extends class_1297> arg1, class_6880<class_1291> arg2, Integer arg3, int arg4, boolean arg5)
executeGive(ServerCommandSource source, Collection<? extends Entity> targets, RegistryEntry<StatusEffect> statusEffect, Integer seconds, int amplifier, boolean showParticles)
m_247240_(C_2969_ p_250553_, Collection<? extends C_507_> p_250411_, C_203228_<C_496_> p_249495_, Integer p_249652_, int p_251498_, boolean p_249944_)
private static int
a(ep arg0, Collection<? extends bsw> arg1)
clearEffects(CommandSourceStack arg0, Collection<? extends Entity> arg1)
method_13230(class_2168 arg0, Collection<? extends class_1297> arg1)
executeClear(ServerCommandSource source, Collection<? extends Entity> targets)
m_136959_(C_2969_ p_136960_, Collection<? extends C_507_> p_136961_)
private static int
a(ep arg0, Collection<? extends bsw> arg1, ji<bsc> arg2)
clearEffect(CommandSourceStack arg0, Collection<? extends Entity> arg1, Holder<MobEffect> arg2)
method_13231(class_2168 arg0, Collection<? extends class_1297> arg1, class_6880<class_1291> arg2)
executeClear(ServerCommandSource source, Collection<? extends Entity> targets, RegistryEntry<StatusEffect> statusEffect)
m_246113_(C_2969_ p_250069_, Collection<? extends C_507_> p_248561_, C_203228_<C_496_> p_249198_)