Class SummonCommand

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

public class SummonCommand
extends Object
  • Field Details

    • FAILED_EXCEPTION

      private static final com.mojang.brigadier.exceptions.SimpleCommandExceptionType FAILED_EXCEPTION
    • field_26629

      private static final com.mojang.brigadier.exceptions.SimpleCommandExceptionType field_26629
    • INVALID_POSITION_EXCEPTION

      private static final com.mojang.brigadier.exceptions.SimpleCommandExceptionType INVALID_POSITION_EXCEPTION
  • Constructor Details

    • SummonCommand

      public SummonCommand()
  • Method Details

    • register

      public static void register​(com.mojang.brigadier.CommandDispatcher<ServerCommandSource> dispatcher)
    • execute

      private static int execute​(ServerCommandSource source, Identifier entity, Vec3d pos, CompoundTag nbt, boolean initialize) throws com.mojang.brigadier.exceptions.CommandSyntaxException
      Throws:
      com.mojang.brigadier.exceptions.CommandSyntaxException