Package net.minecraft.command.argument
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 dl
intermediary net/minecraft/class_2188
named net/minecraft/command/argument/EntitySummonArgumentType
-
Field Summary
Fields Modifier and Type Field Description private static Collection<String>
EXAMPLES
static com.mojang.brigadier.exceptions.DynamicCommandExceptionType
NOT_FOUND_EXCEPTION
-
Constructor Summary
Constructors Constructor Description EntitySummonArgumentType()
-
Method Summary
Modifier and Type Method Description static EntitySummonArgumentType
entitySummon()
static Identifier
getEntitySummon(com.mojang.brigadier.context.CommandContext<ServerCommandSource> context, String name)
Collection<String>
getExamples()
Identifier
parse(com.mojang.brigadier.StringReader stringReader)
private static Identifier
validate(Identifier identifier)
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
Methods inherited from interface com.mojang.brigadier.arguments.ArgumentType
listSuggestions
-
Field Details
-
EXAMPLES
- Mappings:
Namespace Name Mixin selector official b
Ldl;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
Ldl;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
- Mappings:
Namespace Name Mixin selector official a
Ldl;a()Ldl;
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
Ldl;a(Lcom/mojang/brigadier/context/CommandContext;Ljava/lang/String;)Lwb;
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 identifier) throws com.mojang.brigadier.exceptions.CommandSyntaxException- Throws:
com.mojang.brigadier.exceptions.CommandSyntaxException
- Mappings:
Namespace Name Mixin selector official a
Ldl;a(Lwb;)Lwb;
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 interfacecom.mojang.brigadier.arguments.ArgumentType<Identifier>
- Throws:
com.mojang.brigadier.exceptions.CommandSyntaxException
- Mappings:
Namespace Name Mixin selector official a
Ldl;a(Lcom/mojang/brigadier/StringReader;)Lwb;
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
- Specified by:
getExamples
in interfacecom.mojang.brigadier.arguments.ArgumentType<Identifier>
- Mappings:
Namespace Name Mixin selector official getExamples
Ldl;getExamples()Ljava/util/Collection;
intermediary getExamples
Lnet/minecraft/class_2188;getExamples()Ljava/util/Collection;
named getExamples
Lnet/minecraft/command/argument/EntitySummonArgumentType;getExamples()Ljava/util/Collection;
-