类 GiveCommand
- java.lang.Object
-
- net.minecraft.server.command.GiveCommand
-
public class GiveCommand extends Object
- Mappings:
Namespace Name official yiintermediary net/minecraft/class_3068named net/minecraft/server/command/GiveCommand
-
-
字段概要
字段 修饰符和类型 字段 说明 static intfield_33394
-
构造器概要
构造器 构造器 说明 GiveCommand()
-
方法概要
所有方法 静态方法 具体方法 修饰符和类型 方法 说明 private static intexecute(ServerCommandSource source, ItemStackArgument item, Collection<ServerPlayerEntity> targets, int count)static voidregister(com.mojang.brigadier.CommandDispatcher<ServerCommandSource> dispatcher)
-
-
-
字段详细资料
-
field_33394
public static final int field_33394
- 另请参阅:
- 常量字段值
- Mappings:
Namespace Name Mixin selector official aLyi;a:Iintermediary field_33394Lnet/minecraft/class_3068;field_33394:Inamed field_33394Lnet/minecraft/server/command/GiveCommand;field_33394:I
-
-
方法详细资料
-
register
public static void register(com.mojang.brigadier.CommandDispatcher<ServerCommandSource> dispatcher)
- Mappings:
Namespace Name Mixin selector official aLyi;a(Lcom/mojang/brigadier/CommandDispatcher;)Vintermediary method_13402Lnet/minecraft/class_3068;method_13402(Lcom/mojang/brigadier/CommandDispatcher;)Vnamed registerLnet/minecraft/server/command/GiveCommand;register(Lcom/mojang/brigadier/CommandDispatcher;)V
-
execute
private static int execute(ServerCommandSource source, ItemStackArgument item, Collection<ServerPlayerEntity> targets, int count) throws com.mojang.brigadier.exceptions.CommandSyntaxException
- 抛出:
com.mojang.brigadier.exceptions.CommandSyntaxException- Mappings:
Namespace Name Mixin selector official aLyi;a(Ldg;Lfc;Ljava/util/Collection;I)Iintermediary method_13401Lnet/minecraft/class_3068;method_13401(Lnet/minecraft/class_2168;Lnet/minecraft/class_2290;Ljava/util/Collection;I)Inamed executeLnet/minecraft/server/command/GiveCommand;execute(Lnet/minecraft/server/command/ServerCommandSource;Lnet/minecraft/command/argument/ItemStackArgument;Ljava/util/Collection;I)I
-
-