Package net.minecraft.server.command
Class GiveCommand
java.lang.Object
net.minecraft.server.command.GiveCommand
- Mappings:
- Namespace - Name - named - net/minecraft/server/command/GiveCommand- intermediary - net/minecraft/class_3068- official - ang
- 
Field SummaryFields
- 
Constructor SummaryConstructors
- 
Method SummaryModifier and TypeMethodDescriptionprivate static intexecute(ServerCommandSource source, ItemStackArgument item, Collection<ServerPlayerEntity> targets, int count) static voidregister(com.mojang.brigadier.CommandDispatcher<ServerCommandSource> dispatcher, CommandRegistryAccess commandRegistryAccess) 
- 
Field Details- 
MAX_STACKSpublic static final int MAX_STACKS- See Also:
- Mappings:
- Namespace - Name - Mixin selector - named - MAX_STACKS- Lnet/minecraft/server/command/GiveCommand;MAX_STACKS:I- intermediary - field_33394- Lnet/minecraft/class_3068;field_33394:I- official - a- Lang;a:I
 
 
- 
- 
Constructor Details- 
GiveCommandpublic GiveCommand()
 
- 
- 
Method Details- 
registerpublic static void register(com.mojang.brigadier.CommandDispatcher<ServerCommandSource> dispatcher, CommandRegistryAccess commandRegistryAccess) - Mappings:
- Namespace - Name - Mixin selector - named - register- Lnet/minecraft/server/command/GiveCommand;register(Lcom/mojang/brigadier/CommandDispatcher;Lnet/minecraft/command/CommandRegistryAccess;)V- intermediary - method_13402- Lnet/minecraft/class_3068;method_13402(Lcom/mojang/brigadier/CommandDispatcher;Lnet/minecraft/class_7157;)V- official - a- Lang;a(Lcom/mojang/brigadier/CommandDispatcher;Let;)V
 
- 
executeprivate static int execute(ServerCommandSource source, ItemStackArgument item, Collection<ServerPlayerEntity> targets, int count) throws com.mojang.brigadier.exceptions.CommandSyntaxException - Throws:
- com.mojang.brigadier.exceptions.CommandSyntaxException
- Mappings:
- Namespace - Name - Mixin selector - named - execute- Lnet/minecraft/server/command/GiveCommand;execute(Lnet/minecraft/server/command/ServerCommandSource;Lnet/minecraft/command/argument/ItemStackArgument;Ljava/util/Collection;I)I- intermediary - method_13401- Lnet/minecraft/class_3068;method_13401(Lnet/minecraft/class_2168;Lnet/minecraft/class_2290;Ljava/util/Collection;I)I- official - a- Lang;a(Lex;Lhh;Ljava/util/Collection;I)I
 
 
-