Class EntitySummonArgumentType

java.lang.Object
net.minecraft.command.argument.EntitySummonArgumentType
All Implemented Interfaces:
com.mojang.brigadier.arguments.ArgumentType<Identifier>

public class EntitySummonArgumentType
extends Object
implements com.mojang.brigadier.arguments.ArgumentType<Identifier>
  • Field Details

    • EXAMPLES

      private static final Collection<String> EXAMPLES
    • NOT_FOUND_EXCEPTION

      public static final com.mojang.brigadier.exceptions.DynamicCommandExceptionType NOT_FOUND_EXCEPTION
  • Constructor Details

    • EntitySummonArgumentType

      public EntitySummonArgumentType()
  • Method Details

    • entitySummon

      public static EntitySummonArgumentType entitySummon()
    • getEntitySummon

      public static Identifier getEntitySummon​(com.mojang.brigadier.context.CommandContext<ServerCommandSource> context, String name)
    • validate

      private static Identifier validate​(Identifier identifier) throws com.mojang.brigadier.exceptions.CommandSyntaxException
      Throws:
      com.mojang.brigadier.exceptions.CommandSyntaxException
    • parse

      public Identifier parse​(com.mojang.brigadier.StringReader stringReader) throws com.mojang.brigadier.exceptions.CommandSyntaxException
      Specified by:
      parse in interface com.mojang.brigadier.arguments.ArgumentType<Identifier>
      Throws:
      com.mojang.brigadier.exceptions.CommandSyntaxException
    • getExamples

      public Collection<String> getExamples()
      Specified by:
      getExamples in interface com.mojang.brigadier.arguments.ArgumentType<Identifier>