Package net.minecraft.server.command
Class EnchantCommand
java.lang.Object
net.minecraft.server.command.EnchantCommand
- Mappings:
- Namespace - Name - named - net/minecraft/server/command/EnchantCommand- intermediary - net/minecraft/class_3048- official - amx
- 
Field SummaryFieldsModifier and TypeFieldDescriptionprivate static final com.mojang.brigadier.exceptions.DynamicCommandExceptionTypeprivate static final com.mojang.brigadier.exceptions.SimpleCommandExceptionTypeprivate static final com.mojang.brigadier.exceptions.DynamicCommandExceptionTypeprivate static final com.mojang.brigadier.exceptions.DynamicCommandExceptionTypeprivate static final com.mojang.brigadier.exceptions.Dynamic2CommandExceptionType
- 
Constructor SummaryConstructors
- 
Method SummaryModifier and TypeMethodDescriptionprivate static intexecute(ServerCommandSource source, Collection<? extends Entity> targets, RegistryEntry<Enchantment> enchantment, int level) static voidregister(com.mojang.brigadier.CommandDispatcher<ServerCommandSource> dispatcher, CommandRegistryAccess registryAccess) 
- 
Field Details- 
FAILED_ENTITY_EXCEPTIONprivate static final com.mojang.brigadier.exceptions.DynamicCommandExceptionType FAILED_ENTITY_EXCEPTION- Mappings:
- Namespace - Name - Mixin selector - named - FAILED_ENTITY_EXCEPTION- Lnet/minecraft/server/command/EnchantCommand;FAILED_ENTITY_EXCEPTION:Lcom/mojang/brigadier/exceptions/DynamicCommandExceptionType;- intermediary - field_13629- Lnet/minecraft/class_3048;field_13629:Lcom/mojang/brigadier/exceptions/DynamicCommandExceptionType;- official - a- Lamx;a:Lcom/mojang/brigadier/exceptions/DynamicCommandExceptionType;
 
- 
FAILED_ITEMLESS_EXCEPTIONprivate static final com.mojang.brigadier.exceptions.DynamicCommandExceptionType FAILED_ITEMLESS_EXCEPTION- Mappings:
- Namespace - Name - Mixin selector - named - FAILED_ITEMLESS_EXCEPTION- Lnet/minecraft/server/command/EnchantCommand;FAILED_ITEMLESS_EXCEPTION:Lcom/mojang/brigadier/exceptions/DynamicCommandExceptionType;- intermediary - field_13631- Lnet/minecraft/class_3048;field_13631:Lcom/mojang/brigadier/exceptions/DynamicCommandExceptionType;- official - b- Lamx;b:Lcom/mojang/brigadier/exceptions/DynamicCommandExceptionType;
 
- 
FAILED_INCOMPATIBLE_EXCEPTIONprivate static final com.mojang.brigadier.exceptions.DynamicCommandExceptionType FAILED_INCOMPATIBLE_EXCEPTION- Mappings:
- Namespace - Name - Mixin selector - named - FAILED_INCOMPATIBLE_EXCEPTION- Lnet/minecraft/server/command/EnchantCommand;FAILED_INCOMPATIBLE_EXCEPTION:Lcom/mojang/brigadier/exceptions/DynamicCommandExceptionType;- intermediary - field_13633- Lnet/minecraft/class_3048;field_13633:Lcom/mojang/brigadier/exceptions/DynamicCommandExceptionType;- official - c- Lamx;c:Lcom/mojang/brigadier/exceptions/DynamicCommandExceptionType;
 
- 
FAILED_LEVEL_EXCEPTIONprivate static final com.mojang.brigadier.exceptions.Dynamic2CommandExceptionType FAILED_LEVEL_EXCEPTION- Mappings:
- Namespace - Name - Mixin selector - named - FAILED_LEVEL_EXCEPTION- Lnet/minecraft/server/command/EnchantCommand;FAILED_LEVEL_EXCEPTION:Lcom/mojang/brigadier/exceptions/Dynamic2CommandExceptionType;- intermediary - field_13632- Lnet/minecraft/class_3048;field_13632:Lcom/mojang/brigadier/exceptions/Dynamic2CommandExceptionType;- official - d- Lamx;d:Lcom/mojang/brigadier/exceptions/Dynamic2CommandExceptionType;
 
- 
FAILED_EXCEPTIONprivate static final com.mojang.brigadier.exceptions.SimpleCommandExceptionType FAILED_EXCEPTION- Mappings:
- Namespace - Name - Mixin selector - named - FAILED_EXCEPTION- Lnet/minecraft/server/command/EnchantCommand;FAILED_EXCEPTION:Lcom/mojang/brigadier/exceptions/SimpleCommandExceptionType;- intermediary - field_13630- Lnet/minecraft/class_3048;field_13630:Lcom/mojang/brigadier/exceptions/SimpleCommandExceptionType;- official - e- Lamx;e:Lcom/mojang/brigadier/exceptions/SimpleCommandExceptionType;
 
 
- 
- 
Constructor Details- 
EnchantCommandpublic EnchantCommand()
 
- 
- 
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/EnchantCommand;register(Lcom/mojang/brigadier/CommandDispatcher;Lnet/minecraft/command/CommandRegistryAccess;)V- intermediary - method_13243- Lnet/minecraft/class_3048;method_13243(Lcom/mojang/brigadier/CommandDispatcher;Lnet/minecraft/class_7157;)V- official - a- Lamx;a(Lcom/mojang/brigadier/CommandDispatcher;Let;)V
 
- 
executeprivate static int execute(ServerCommandSource source, Collection<? extends Entity> targets, RegistryEntry<Enchantment> enchantment, int level) throws com.mojang.brigadier.exceptions.CommandSyntaxException - Throws:
- com.mojang.brigadier.exceptions.CommandSyntaxException
- Mappings:
- Namespace - Name - Mixin selector - named - execute- Lnet/minecraft/server/command/EnchantCommand;execute(Lnet/minecraft/server/command/ServerCommandSource;Ljava/util/Collection;Lnet/minecraft/registry/entry/RegistryEntry;I)I- intermediary - method_13241- Lnet/minecraft/class_3048;method_13241(Lnet/minecraft/class_2168;Ljava/util/Collection;Lnet/minecraft/class_6880;I)I- official - a- Lamx;a(Lex;Ljava/util/Collection;Ljr;I)I
 
 
-