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>
Mappings:
Namespace Name
official dx
intermediary net/minecraft/class_2188
named net/minecraft/command/argument/EntitySummonArgumentType
  • Field Details

    • EXAMPLES

      private static final Collection<String> EXAMPLES
      Mappings:
      Namespace Name Mixin selector
      official b Ldx;b:Ljava/util/Collection;
      intermediary field_9865 Lnet/minecraft/class_2188;field_9865:Ljava/util/Collection;
      named EXAMPLES Lnet/minecraft/command/argument/EntitySummonArgumentType;EXAMPLES:Ljava/util/Collection;
    • NOT_FOUND_EXCEPTION

      public static final com.mojang.brigadier.exceptions.DynamicCommandExceptionType NOT_FOUND_EXCEPTION
      Mappings:
      Namespace Name Mixin selector
      official a Ldx;a:Lcom/mojang/brigadier/exceptions/DynamicCommandExceptionType;
      intermediary field_9866 Lnet/minecraft/class_2188;field_9866:Lcom/mojang/brigadier/exceptions/DynamicCommandExceptionType;
      named NOT_FOUND_EXCEPTION Lnet/minecraft/command/argument/EntitySummonArgumentType;NOT_FOUND_EXCEPTION:Lcom/mojang/brigadier/exceptions/DynamicCommandExceptionType;
  • Constructor Details

    • EntitySummonArgumentType

      public EntitySummonArgumentType()
  • Method Details

    • entitySummon

      public static EntitySummonArgumentType entitySummon()
      Mappings:
      Namespace Name Mixin selector
      official a Ldx;a()Ldx;
      intermediary method_9324 Lnet/minecraft/class_2188;method_9324()Lnet/minecraft/class_2188;
      named entitySummon Lnet/minecraft/command/argument/EntitySummonArgumentType;entitySummon()Lnet/minecraft/command/argument/EntitySummonArgumentType;
    • getEntitySummon

      public static Identifier getEntitySummon(com.mojang.brigadier.context.CommandContext<ServerCommandSource> context, String name) throws com.mojang.brigadier.exceptions.CommandSyntaxException
      Throws:
      com.mojang.brigadier.exceptions.CommandSyntaxException
      Mappings:
      Namespace Name Mixin selector
      official a Ldx;a(Lcom/mojang/brigadier/context/CommandContext;Ljava/lang/String;)Lyh;
      intermediary method_9322 Lnet/minecraft/class_2188;method_9322(Lcom/mojang/brigadier/context/CommandContext;Ljava/lang/String;)Lnet/minecraft/class_2960;
      named getEntitySummon Lnet/minecraft/command/argument/EntitySummonArgumentType;getEntitySummon(Lcom/mojang/brigadier/context/CommandContext;Ljava/lang/String;)Lnet/minecraft/util/Identifier;
    • validate

      private static Identifier validate(Identifier id) throws com.mojang.brigadier.exceptions.CommandSyntaxException
      Throws:
      com.mojang.brigadier.exceptions.CommandSyntaxException
      Mappings:
      Namespace Name Mixin selector
      official a Ldx;a(Lyh;)Lyh;
      intermediary method_9326 Lnet/minecraft/class_2188;method_9326(Lnet/minecraft/class_2960;)Lnet/minecraft/class_2960;
      named validate Lnet/minecraft/command/argument/EntitySummonArgumentType;validate(Lnet/minecraft/util/Identifier;)Lnet/minecraft/util/Identifier;
    • 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
      Mappings:
      Namespace Name Mixin selector
      official a Ldx;a(Lcom/mojang/brigadier/StringReader;)Lyh;
      intermediary method_9325 Lnet/minecraft/class_2188;method_9325(Lcom/mojang/brigadier/StringReader;)Lnet/minecraft/class_2960;
      named parse Lnet/minecraft/command/argument/EntitySummonArgumentType;parse(Lcom/mojang/brigadier/StringReader;)Lnet/minecraft/util/Identifier;
    • getExamples

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