Class SummonCommand


  • public class SummonCommand
    extends java.lang.Object
    • Field Summary

      Fields 
      Modifier and Type Field Description
      private static com.mojang.brigadier.exceptions.SimpleCommandExceptionType ERROR_DUPLICATE_UUID  
      private static com.mojang.brigadier.exceptions.SimpleCommandExceptionType ERROR_FAILED  
      private static com.mojang.brigadier.exceptions.SimpleCommandExceptionType INVALID_POSITION  
    • Constructor Summary

      Constructors 
      Constructor Description
      SummonCommand()  
    • Field Detail

      • ERROR_FAILED

        private static final com.mojang.brigadier.exceptions.SimpleCommandExceptionType ERROR_FAILED
      • ERROR_DUPLICATE_UUID

        private static final com.mojang.brigadier.exceptions.SimpleCommandExceptionType ERROR_DUPLICATE_UUID
      • INVALID_POSITION

        private static final com.mojang.brigadier.exceptions.SimpleCommandExceptionType INVALID_POSITION
    • Constructor Detail

      • SummonCommand

        public SummonCommand()
    • Method Detail

      • register

        public static void register​(com.mojang.brigadier.CommandDispatcher<CommandSource> p_198736_0_)
      • spawnEntity

        private static int spawnEntity​(CommandSource p_198737_0_,
                                       ResourceLocation p_198737_1_,
                                       Vector3d p_198737_2_,
                                       CompoundNBT p_198737_3_,
                                       boolean p_198737_4_)
                                throws com.mojang.brigadier.exceptions.CommandSyntaxException
        Throws:
        com.mojang.brigadier.exceptions.CommandSyntaxException