Package net.minecraft.server.commands
Class EffectCommands
java.lang.Object
net.minecraft.server.commands.EffectCommands
- 
Field SummaryFieldsModifier and TypeFieldDescriptionprivate static final com.mojang.brigadier.exceptions.SimpleCommandExceptionTypeprivate static final com.mojang.brigadier.exceptions.SimpleCommandExceptionTypeprivate static final com.mojang.brigadier.exceptions.SimpleCommandExceptionType
- 
Constructor SummaryConstructors
- 
Method SummaryModifier and TypeMethodDescriptionprivate static intclearEffect(CommandSourceStack p_250069_, Collection<? extends Entity> p_248561_, Holder<MobEffect> p_249198_) private static intclearEffects(CommandSourceStack p_136960_, Collection<? extends Entity> p_136961_) private static intgiveEffect(CommandSourceStack p_250553_, Collection<? extends Entity> p_250411_, Holder<MobEffect> p_249495_, Integer p_249652_, int p_251498_, boolean p_249944_) static voidregister(com.mojang.brigadier.CommandDispatcher<CommandSourceStack> p_136954_, CommandBuildContext p_251610_) 
- 
Field Details- 
ERROR_GIVE_FAILEDprivate static final com.mojang.brigadier.exceptions.SimpleCommandExceptionType ERROR_GIVE_FAILED
- 
ERROR_CLEAR_EVERYTHING_FAILEDprivate static final com.mojang.brigadier.exceptions.SimpleCommandExceptionType ERROR_CLEAR_EVERYTHING_FAILED
- 
ERROR_CLEAR_SPECIFIC_FAILEDprivate static final com.mojang.brigadier.exceptions.SimpleCommandExceptionType ERROR_CLEAR_SPECIFIC_FAILED
 
- 
- 
Constructor Details- 
EffectCommandspublic EffectCommands()
 
- 
- 
Method Details- 
registerpublic static void register(com.mojang.brigadier.CommandDispatcher<CommandSourceStack> p_136954_, CommandBuildContext p_251610_) 
- 
giveEffectprivate static int giveEffect(CommandSourceStack p_250553_, Collection<? extends Entity> p_250411_, Holder<MobEffect> p_249495_, @Nullable Integer p_249652_, int p_251498_, boolean p_249944_) throws com.mojang.brigadier.exceptions.CommandSyntaxException - Throws:
- com.mojang.brigadier.exceptions.CommandSyntaxException
 
- 
clearEffectsprivate static int clearEffects(CommandSourceStack p_136960_, Collection<? extends Entity> p_136961_) throws com.mojang.brigadier.exceptions.CommandSyntaxException - Throws:
- com.mojang.brigadier.exceptions.CommandSyntaxException
 
- 
clearEffectprivate static int clearEffect(CommandSourceStack p_250069_, Collection<? extends Entity> p_248561_, Holder<MobEffect> p_249198_) throws com.mojang.brigadier.exceptions.CommandSyntaxException - Throws:
- com.mojang.brigadier.exceptions.CommandSyntaxException
 
 
-