net.minecraft.server.commands

public class EnchantCommand

ams
net.minecraft.server.commands.EnchantCommand
net.minecraft.class_3048
net.minecraft.unmapped.C_qnjegojx
net.minecraft.server.command.EnchantCommand
net.minecraft.server.command.EnchantCommand
net.minecraft.src.C_5314_
net.minecraft.server.commands.CommandEnchant

Field summary

Modifier and TypeField
private static final com.mojang.brigadier.exceptions.DynamicCommandExceptionType
a
ERROR_NOT_LIVING_ENTITY
field_13629
f_zzdgpjff
FAILED_ENTITY_EXCEPTION
FAILED_ENTITY_EXCEPTION
f_137002_
private static final com.mojang.brigadier.exceptions.DynamicCommandExceptionType
b
ERROR_NO_ITEM
field_13631
f_pxjhfhxi
FAILED_ITEMLESS_EXCEPTION
FAILED_ITEMLESS_EXCEPTION
f_137003_
private static final com.mojang.brigadier.exceptions.DynamicCommandExceptionType
c
ERROR_INCOMPATIBLE
field_13633
f_qqrgddjt
FAILED_INCOMPATIBLE_EXCEPTION
FAILED_INCOMPATIBLE_EXCEPTION
f_137004_
private static final com.mojang.brigadier.exceptions.Dynamic2CommandExceptionType
d
ERROR_LEVEL_TOO_HIGH
field_13632
f_nknpmicg
FAILED_LEVEL_EXCEPTION
FAILED_LEVEL_EXCEPTION
f_137005_
private static final com.mojang.brigadier.exceptions.SimpleCommandExceptionType
e
ERROR_NOTHING_HAPPENED
field_13630
f_weepozkz
FAILED_EXCEPTION
FAILED_EXCEPTION
f_137006_

Constructor summary

ModifierConstructor
public ()

Method summary

Modifier and TypeMethod
public static void
a(com.mojang.brigadier.CommandDispatcher<et> arg0, ep arg1)
register(com.mojang.brigadier.CommandDispatcher<CommandSourceStack> arg0, CommandBuildContext arg1)
method_13243(com.mojang.brigadier.CommandDispatcher<class_2168> arg0, class_7157 arg1)
m_izxvgwvi(com.mojang.brigadier.CommandDispatcher<C_pennblrk> arg0, C_bprdujxm arg1)
register(com.mojang.brigadier.CommandDispatcher<ServerCommandSource> dispatcher, CommandRegistryAccess registryAccess)
register(com.mojang.brigadier.CommandDispatcher<ServerCommandSource> dispatcher, CommandBuildContext context)
m_245923_(com.mojang.brigadier.CommandDispatcher<C_2969_> p_251241_, C_213173_ p_251038_)
private static int
a(et arg0, Collection<? extends bsr> arg1, jm<dac> arg2, int arg3)
enchant(CommandSourceStack arg0, Collection<? extends Entity> arg1, Holder<Enchantment> arg2, int arg3)
method_13241(class_2168 arg0, Collection<? extends class_1297> arg1, class_6880<class_1887> arg2, int arg3)
m_gxtdwwql(C_pennblrk arg0, Collection<? extends C_astfners> arg1, C_cjzoxshv<C_jxtrubuh> arg2, int arg3)
execute(ServerCommandSource source, Collection<? extends Entity> targets, RegistryEntry<Enchantment> enchantment, int level)
execute(ServerCommandSource source, Collection<? extends Entity> targets, Holder<Enchantment> enchantment, int level)
m_246270_(C_2969_ p_249815_, Collection<? extends C_507_> p_248848_, C_203228_<C_1505_> p_251252_, int p_249941_)