Package net.minecraft.server.command
Class EffectCommand
java.lang.Object
net.minecraft.server.command.EffectCommand
- Mappings:
- Namespace - Name - named - net/minecraft/server/command/EffectCommand- intermediary - net/minecraft/class_3043- official - amv
- 
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 intexecuteClear(ServerCommandSource source, Collection<? extends Entity> targets) private static intexecuteClear(ServerCommandSource source, Collection<? extends Entity> targets, RegistryEntry<StatusEffect> statusEffect) private static intexecuteGive(ServerCommandSource source, Collection<? extends Entity> targets, RegistryEntry<StatusEffect> statusEffect, @Nullable Integer seconds, int amplifier, boolean showParticles) static voidregister(com.mojang.brigadier.CommandDispatcher<ServerCommandSource> dispatcher, CommandRegistryAccess registryAccess) 
- 
Field Details- 
GIVE_FAILED_EXCEPTIONprivate static final com.mojang.brigadier.exceptions.SimpleCommandExceptionType GIVE_FAILED_EXCEPTION- Mappings:
- Namespace - Name - Mixin selector - named - GIVE_FAILED_EXCEPTION- Lnet/minecraft/server/command/EffectCommand;GIVE_FAILED_EXCEPTION:Lcom/mojang/brigadier/exceptions/SimpleCommandExceptionType;- intermediary - field_13607- Lnet/minecraft/class_3043;field_13607:Lcom/mojang/brigadier/exceptions/SimpleCommandExceptionType;- official - a- Lamv;a:Lcom/mojang/brigadier/exceptions/SimpleCommandExceptionType;
 
- 
CLEAR_EVERYTHING_FAILED_EXCEPTIONprivate static final com.mojang.brigadier.exceptions.SimpleCommandExceptionType CLEAR_EVERYTHING_FAILED_EXCEPTION- Mappings:
- Namespace - Name - Mixin selector - named - CLEAR_EVERYTHING_FAILED_EXCEPTION- Lnet/minecraft/server/command/EffectCommand;CLEAR_EVERYTHING_FAILED_EXCEPTION:Lcom/mojang/brigadier/exceptions/SimpleCommandExceptionType;- intermediary - field_13609- Lnet/minecraft/class_3043;field_13609:Lcom/mojang/brigadier/exceptions/SimpleCommandExceptionType;- official - b- Lamv;b:Lcom/mojang/brigadier/exceptions/SimpleCommandExceptionType;
 
- 
CLEAR_SPECIFIC_FAILED_EXCEPTIONprivate static final com.mojang.brigadier.exceptions.SimpleCommandExceptionType CLEAR_SPECIFIC_FAILED_EXCEPTION- Mappings:
- Namespace - Name - Mixin selector - named - CLEAR_SPECIFIC_FAILED_EXCEPTION- Lnet/minecraft/server/command/EffectCommand;CLEAR_SPECIFIC_FAILED_EXCEPTION:Lcom/mojang/brigadier/exceptions/SimpleCommandExceptionType;- intermediary - field_13608- Lnet/minecraft/class_3043;field_13608:Lcom/mojang/brigadier/exceptions/SimpleCommandExceptionType;- official - c- Lamv;c:Lcom/mojang/brigadier/exceptions/SimpleCommandExceptionType;
 
 
- 
- 
Constructor Details- 
EffectCommandpublic EffectCommand()
 
- 
- 
Method Details- 
registerpublic static void register(com.mojang.brigadier.CommandDispatcher<ServerCommandSource> dispatcher, CommandRegistryAccess registryAccess) - Mappings:
- Namespace - Name - Mixin selector - named - register- Lnet/minecraft/server/command/EffectCommand;register(Lcom/mojang/brigadier/CommandDispatcher;Lnet/minecraft/command/CommandRegistryAccess;)V- intermediary - method_13229- Lnet/minecraft/class_3043;method_13229(Lcom/mojang/brigadier/CommandDispatcher;Lnet/minecraft/class_7157;)V- official - a- Lamv;a(Lcom/mojang/brigadier/CommandDispatcher;Let;)V
 
- 
executeGiveprivate static int executeGive(ServerCommandSource source, Collection<? extends Entity> targets, RegistryEntry<StatusEffect> statusEffect, @Nullable @Nullable Integer seconds, int amplifier, boolean showParticles) throws com.mojang.brigadier.exceptions.CommandSyntaxException - Throws:
- com.mojang.brigadier.exceptions.CommandSyntaxException
- Mappings:
- Namespace - Name - Mixin selector - named - executeGive- Lnet/minecraft/server/command/EffectCommand;executeGive(Lnet/minecraft/server/command/ServerCommandSource;Ljava/util/Collection;Lnet/minecraft/registry/entry/RegistryEntry;Ljava/lang/Integer;IZ)I- intermediary - method_13227- Lnet/minecraft/class_3043;method_13227(Lnet/minecraft/class_2168;Ljava/util/Collection;Lnet/minecraft/class_6880;Ljava/lang/Integer;IZ)I- official - a- Lamv;a(Lex;Ljava/util/Collection;Ljr;Ljava/lang/Integer;IZ)I
 
- 
executeClearprivate static int executeClear(ServerCommandSource source, Collection<? extends Entity> targets) throws com.mojang.brigadier.exceptions.CommandSyntaxException - Throws:
- com.mojang.brigadier.exceptions.CommandSyntaxException
- Mappings:
- Namespace - Name - Mixin selector - named - executeClear- Lnet/minecraft/server/command/EffectCommand;executeClear(Lnet/minecraft/server/command/ServerCommandSource;Ljava/util/Collection;)I- intermediary - method_13230- Lnet/minecraft/class_3043;method_13230(Lnet/minecraft/class_2168;Ljava/util/Collection;)I- official - a- Lamv;a(Lex;Ljava/util/Collection;)I
 
- 
executeClearprivate static int executeClear(ServerCommandSource source, Collection<? extends Entity> targets, RegistryEntry<StatusEffect> statusEffect) throws com.mojang.brigadier.exceptions.CommandSyntaxException - Throws:
- com.mojang.brigadier.exceptions.CommandSyntaxException
- Mappings:
- Namespace - Name - Mixin selector - named - executeClear- Lnet/minecraft/server/command/EffectCommand;executeClear(Lnet/minecraft/server/command/ServerCommandSource;Ljava/util/Collection;Lnet/minecraft/registry/entry/RegistryEntry;)I- intermediary - method_13231- Lnet/minecraft/class_3043;method_13231(Lnet/minecraft/class_2168;Ljava/util/Collection;Lnet/minecraft/class_6880;)I- official - a- Lamv;a(Lex;Ljava/util/Collection;Ljr;)I
 
 
-