Class GiveCommand

java.lang.Object
net.minecraft.command.impl.GiveCommand

public class GiveCommand extends Object
  • Constructor Details

    • GiveCommand

      public GiveCommand()
  • Method Details

    • register

      public static void register(com.mojang.brigadier.CommandDispatcher<CommandSource> p_198494_0_)
    • giveItem

      private static int giveItem(CommandSource p_198497_0_, ItemInput p_198497_1_, Collection<ServerPlayerEntity> p_198497_2_, int p_198497_3_) throws com.mojang.brigadier.exceptions.CommandSyntaxException
      Throws:
      com.mojang.brigadier.exceptions.CommandSyntaxException