Class GiveCommand


  • public class GiveCommand
    extends java.lang.Object
    • Constructor Summary

      Constructors 
      Constructor Description
      GiveCommand()  
    • Constructor Detail

      • GiveCommand

        public GiveCommand()
    • Method Detail

      • 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_,
                                    java.util.Collection<ServerPlayerEntity> p_198497_2_,
                                    int p_198497_3_)
                             throws com.mojang.brigadier.exceptions.CommandSyntaxException
        Throws:
        com.mojang.brigadier.exceptions.CommandSyntaxException