net.minecraft.server.commands

public class EnchantCommand

tu
net.minecraft.server.commands.EnchantCommand
net.minecraft.class_3048
net.minecraft.server.command.EnchantCommand
net.minecraft.command.impl.EnchantCommand
net.minecraft.server.v1_15_R1.CommandEnchant

Field summary

Modifier and TypeField
private static final com.mojang.brigadier.exceptions.DynamicCommandExceptionType
a
ERROR_NOT_LIVING_ENTITY
field_13629
FAILED_ENTITY_EXCEPTION
field_202652_a
private static final com.mojang.brigadier.exceptions.DynamicCommandExceptionType
b
ERROR_NO_ITEM
field_13631
FAILED_ITEMLESS_EXCEPTION
field_202653_b
private static final com.mojang.brigadier.exceptions.DynamicCommandExceptionType
c
ERROR_INCOMPATIBLE
field_13633
FAILED_INCOMPATIBLE_EXCEPTION
field_202654_c
private static final com.mojang.brigadier.exceptions.Dynamic2CommandExceptionType
d
ERROR_LEVEL_TOO_HIGH
field_13632
FAILED_LEVEL_EXCEPTION
field_202655_d
private static final com.mojang.brigadier.exceptions.SimpleCommandExceptionType
e
ERROR_NOTHING_HAPPENED
field_13630
FAILED_EXCEPTION
field_202656_e

Method summary

Modifier and TypeMethod
public static void
a(com.mojang.brigadier.CommandDispatcher<cq> arg0)
register(com.mojang.brigadier.CommandDispatcher<CommandSourceStack> arg0)
method_13243(com.mojang.brigadier.CommandDispatcher<class_2168> arg0)
register(com.mojang.brigadier.CommandDispatcher<ServerCommandSource> dispatcher)
func_202649_a(com.mojang.brigadier.CommandDispatcher<CommandSource> arg0)
private static int
a(cq arg0, Collection<? extends akq> arg1, bhx arg2, int arg3)
enchant(CommandSourceStack arg0, Collection<? extends Entity> arg1, Enchantment arg2, int arg3)
method_13241(class_2168 arg0, Collection<? extends class_1297> arg1, class_1887 arg2, int arg3)
execute(ServerCommandSource source, Collection<? extends Entity> targets, Enchantment enchantment, int level)
func_202651_a(CommandSource arg0, Collection<? extends Entity> arg1, Enchantment arg2, int arg3)