public class GiveCommand
extends java.lang.Object
Constructor and Description |
---|
GiveCommand() |
Modifier and Type | Method and Description |
---|---|
private static int |
giveItem(CommandSource source,
ItemInput itemIn,
java.util.Collection<ServerPlayerEntity> targets,
int count) |
static void |
register(com.mojang.brigadier.CommandDispatcher<CommandSource> dispatcher) |
public static void register(com.mojang.brigadier.CommandDispatcher<CommandSource> dispatcher)
private static int giveItem(CommandSource source, ItemInput itemIn, java.util.Collection<ServerPlayerEntity> targets, int count) throws com.mojang.brigadier.exceptions.CommandSyntaxException
com.mojang.brigadier.exceptions.CommandSyntaxException