Class SummonCommand

java.lang.Object
net.minecraft.server.commands.SummonCommand

public class SummonCommand extends Object
  • Field Details

    • 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 Details

    • SummonCommand

      public SummonCommand()
  • Method Details

    • register

      public static void register(com.mojang.brigadier.CommandDispatcher<CommandSourceStack> p_138815_)
    • spawnEntity

      private static int spawnEntity(CommandSourceStack p_138821_, ResourceLocation p_138822_, Vec3 p_138823_, CompoundTag p_138824_, boolean p_138825_) throws com.mojang.brigadier.exceptions.CommandSyntaxException
      Throws:
      com.mojang.brigadier.exceptions.CommandSyntaxException