Package net.minecraft.server.command
Class GiveCommand
java.lang.Object
net.minecraft.server.command.GiveCommand
public class GiveCommand extends Object
-
Constructor Summary
Constructors Constructor Description GiveCommand()
-
Method Summary
Modifier and Type Method Description private static int
execute(ServerCommandSource source, ItemStackArgument item, Collection<ServerPlayerEntity> targets, int count)
static void
register(com.mojang.brigadier.CommandDispatcher<ServerCommandSource> dispatcher)
-
Constructor Details
-
GiveCommand
public GiveCommand()
-
-
Method Details
-
register
public static void register(com.mojang.brigadier.CommandDispatcher<ServerCommandSource> dispatcher) -
execute
private static int execute(ServerCommandSource source, ItemStackArgument item, Collection<ServerPlayerEntity> targets, int count)
-