Package net.minecraft.command.impl
Class EffectCommand
- java.lang.Object
-
- net.minecraft.command.impl.EffectCommand
-
public class EffectCommand extends java.lang.Object
-
-
Field Summary
Fields Modifier and Type Field Description private static com.mojang.brigadier.exceptions.SimpleCommandExceptionType
ERROR_CLEAR_EVERYTHING_FAILED
private static com.mojang.brigadier.exceptions.SimpleCommandExceptionType
ERROR_CLEAR_SPECIFIC_FAILED
private static com.mojang.brigadier.exceptions.SimpleCommandExceptionType
ERROR_GIVE_FAILED
-
Constructor Summary
Constructors Constructor Description EffectCommand()
-
Method Summary
All Methods Static Methods Concrete Methods Modifier and Type Method Description private static int
clearEffect(CommandSource p_198355_0_, java.util.Collection<? extends Entity> p_198355_1_, Effect p_198355_2_)
private static int
clearEffects(CommandSource p_198354_0_, java.util.Collection<? extends Entity> p_198354_1_)
private static int
giveEffect(CommandSource p_198360_0_, java.util.Collection<? extends Entity> p_198360_1_, Effect p_198360_2_, java.lang.Integer p_198360_3_, int p_198360_4_, boolean p_198360_5_)
static void
register(com.mojang.brigadier.CommandDispatcher<CommandSource> p_198353_0_)
-
-
-
Field Detail
-
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
-
-
Method Detail
-
register
public static void register(com.mojang.brigadier.CommandDispatcher<CommandSource> p_198353_0_)
-
giveEffect
private static int giveEffect(CommandSource p_198360_0_, java.util.Collection<? extends Entity> p_198360_1_, Effect p_198360_2_, @Nullable java.lang.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_, java.util.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_, java.util.Collection<? extends Entity> p_198355_1_, Effect p_198355_2_) throws com.mojang.brigadier.exceptions.CommandSyntaxException
- Throws:
com.mojang.brigadier.exceptions.CommandSyntaxException
-
-