net.minecraft.server.commands

public class EnchantCommand

any
net.minecraft.server.commands.EnchantCommand
net.minecraft.class_3048

Field summary

Modifier and TypeField
private static final com.mojang.brigadier.exceptions.DynamicCommandExceptionType
a
ERROR_NOT_LIVING_ENTITY
field_13629
private static final com.mojang.brigadier.exceptions.DynamicCommandExceptionType
b
ERROR_NO_ITEM
field_13631
private static final com.mojang.brigadier.exceptions.DynamicCommandExceptionType
c
ERROR_INCOMPATIBLE
field_13633
private static final com.mojang.brigadier.exceptions.Dynamic2CommandExceptionType
d
ERROR_LEVEL_TOO_HIGH
field_13632
private static final com.mojang.brigadier.exceptions.SimpleCommandExceptionType
e
ERROR_NOTHING_HAPPENED
field_13630

Constructor summary

ModifierConstructor
public ()

Method summary

Modifier and TypeMethod
public static void
a(com.mojang.brigadier.CommandDispatcher<ek> arg0, eg arg1)
register(com.mojang.brigadier.CommandDispatcher<CommandSourceStack> arg0, CommandBuildContext arg1)
method_13243(com.mojang.brigadier.CommandDispatcher<class_2168> arg0, class_7157 arg1)
private static int
a(ek arg0, Collection<? extends bxs> arg1, ji<dhn> 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)