Package net.minecraft.server.commands
Class GiveCommand
java.lang.Object
net.minecraft.server.commands.GiveCommand
-
Field Summary
-
Constructor Summary
-
Method Summary
Modifier and TypeMethodDescriptionprivate static int
giveItem
(CommandSourceStack p_137779_, ItemInput p_137780_, Collection<ServerPlayer> p_137781_, int p_137782_) static void
register
(com.mojang.brigadier.CommandDispatcher<CommandSourceStack> p_137773_)
-
Field Details
-
MAX_ALLOWED_ITEMSTACKS
public static final int MAX_ALLOWED_ITEMSTACKS- See Also:
-
-
Constructor Details
-
GiveCommand
public GiveCommand()
-
-
Method Details
-
register
-
giveItem
private static int giveItem(CommandSourceStack p_137779_, ItemInput p_137780_, Collection<ServerPlayer> p_137781_, int p_137782_) throws com.mojang.brigadier.exceptions.CommandSyntaxException - Throws:
com.mojang.brigadier.exceptions.CommandSyntaxException
-