Package net.minecraft.command.impl
Class EffectCommand
java.lang.Object
net.minecraft.command.impl.EffectCommand
-
Field Summary
Modifier and TypeFieldDescriptionprivate static final com.mojang.brigadier.exceptions.SimpleCommandExceptionType
private static final com.mojang.brigadier.exceptions.SimpleCommandExceptionType
private static final com.mojang.brigadier.exceptions.SimpleCommandExceptionType
-
Constructor Summary
-
Method Summary
Modifier and TypeMethodDescriptionprivate static int
clearEffect
(CommandSource p_198355_0_, Collection<? extends Entity> p_198355_1_, Effect p_198355_2_) private static int
clearEffects
(CommandSource p_198354_0_, Collection<? extends Entity> p_198354_1_) private static int
giveEffect
(CommandSource p_198360_0_, Collection<? extends Entity> p_198360_1_, Effect p_198360_2_, Integer p_198360_3_, int p_198360_4_, boolean p_198360_5_) static void
register
(com.mojang.brigadier.CommandDispatcher<CommandSource> p_198353_0_)
-
Field Details
-
ERROR_GIVE_FAILED
private static final com.mojang.brigadier.exceptions.SimpleCommandExceptionType ERROR_GIVE_FAILED -
ERROR_CLEAR_EVERYTHING_FAILED
private static final com.mojang.brigadier.exceptions.SimpleCommandExceptionType ERROR_CLEAR_EVERYTHING_FAILED -
ERROR_CLEAR_SPECIFIC_FAILED
private static final com.mojang.brigadier.exceptions.SimpleCommandExceptionType ERROR_CLEAR_SPECIFIC_FAILED
-
-
Constructor Details
-
EffectCommand
public EffectCommand()
-
-
Method Details
-
register
-
giveEffect
private static int giveEffect(CommandSource p_198360_0_, Collection<? extends Entity> p_198360_1_, Effect p_198360_2_, @Nullable Integer p_198360_3_, int p_198360_4_, boolean p_198360_5_) throws com.mojang.brigadier.exceptions.CommandSyntaxException - Throws:
com.mojang.brigadier.exceptions.CommandSyntaxException
-
clearEffects
private static int clearEffects(CommandSource p_198354_0_, Collection<? extends Entity> p_198354_1_) throws com.mojang.brigadier.exceptions.CommandSyntaxException - Throws:
com.mojang.brigadier.exceptions.CommandSyntaxException
-
clearEffect
private static int clearEffect(CommandSource p_198355_0_, Collection<? extends Entity> p_198355_1_, Effect p_198355_2_) throws com.mojang.brigadier.exceptions.CommandSyntaxException - Throws:
com.mojang.brigadier.exceptions.CommandSyntaxException
-