Package net.minecraft.server.command
Class GiveCommand
java.lang.Object
net.minecraft.server.command.GiveCommand
- Mappings:
Namespace Name named net/minecraft/server/command/GiveCommandintermediary net/minecraft/class_3068official anb
-
Field Summary
Fields -
Constructor Summary
Constructors -
Method Summary
Modifier 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_STACKS
public static final int MAX_STACKS- See Also:
- Mappings:
Namespace Name Mixin selector named MAX_STACKSLnet/minecraft/server/command/GiveCommand;MAX_STACKS:Iintermediary field_33394Lnet/minecraft/class_3068;field_33394:Iofficial aLanb;a:I
-
-
Constructor Details
-
GiveCommand
public GiveCommand()
-
-
Method Details
-
register
public static void register(com.mojang.brigadier.CommandDispatcher<ServerCommandSource> dispatcher, CommandRegistryAccess commandRegistryAccess) - Mappings:
Namespace Name Mixin selector named registerLnet/minecraft/server/command/GiveCommand;register(Lcom/mojang/brigadier/CommandDispatcher;Lnet/minecraft/command/CommandRegistryAccess;)Vintermediary method_13402Lnet/minecraft/class_3068;method_13402(Lcom/mojang/brigadier/CommandDispatcher;Lnet/minecraft/class_7157;)Vofficial aLanb;a(Lcom/mojang/brigadier/CommandDispatcher;Lep;)V
-
execute
private 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 executeLnet/minecraft/server/command/GiveCommand;execute(Lnet/minecraft/server/command/ServerCommandSource;Lnet/minecraft/command/argument/ItemStackArgument;Ljava/util/Collection;I)Iintermediary method_13401Lnet/minecraft/class_3068;method_13401(Lnet/minecraft/class_2168;Lnet/minecraft/class_2290;Ljava/util/Collection;I)Iofficial aLanb;a(Let;Lhd;Ljava/util/Collection;I)I
-