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 ecintermediary net/minecraft/class_2188named net/minecraft/command/argument/EntitySummonArgumentType
-
Field Summary
FieldsModifier and TypeFieldDescriptionprivate static final Collection<String>static final com.mojang.brigadier.exceptions.DynamicCommandExceptionType -
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionstatic EntitySummonArgumentTypestatic IdentifiergetEntitySummon(com.mojang.brigadier.context.CommandContext<ServerCommandSource> context, String name) parse(com.mojang.brigadier.StringReader stringReader) private static Identifiervalidate(Identifier id) Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, waitMethods inherited from interface com.mojang.brigadier.arguments.ArgumentType
listSuggestions
-
Field Details
-
EXAMPLES
- Mappings:
Namespace Name Mixin selector official bLec;b:Ljava/util/Collection;intermediary field_9865Lnet/minecraft/class_2188;field_9865:Ljava/util/Collection;named EXAMPLESLnet/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 aLec;a:Lcom/mojang/brigadier/exceptions/DynamicCommandExceptionType;intermediary field_9866Lnet/minecraft/class_2188;field_9866:Lcom/mojang/brigadier/exceptions/DynamicCommandExceptionType;named NOT_FOUND_EXCEPTIONLnet/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 aLec;a()Lec;intermediary method_9324Lnet/minecraft/class_2188;method_9324()Lnet/minecraft/class_2188;named entitySummonLnet/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 aLec;a(Lcom/mojang/brigadier/context/CommandContext;Ljava/lang/String;)Laaj;intermediary method_9322Lnet/minecraft/class_2188;method_9322(Lcom/mojang/brigadier/context/CommandContext;Ljava/lang/String;)Lnet/minecraft/class_2960;named getEntitySummonLnet/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 aLec;a(Laaj;)Laaj;intermediary method_9326Lnet/minecraft/class_2188;method_9326(Lnet/minecraft/class_2960;)Lnet/minecraft/class_2960;named validateLnet/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:
parsein interfacecom.mojang.brigadier.arguments.ArgumentType<Identifier>- Throws:
com.mojang.brigadier.exceptions.CommandSyntaxException- Mappings:
Namespace Name Mixin selector official aLec;a(Lcom/mojang/brigadier/StringReader;)Laaj;intermediary method_9325Lnet/minecraft/class_2188;method_9325(Lcom/mojang/brigadier/StringReader;)Lnet/minecraft/class_2960;named parseLnet/minecraft/command/argument/EntitySummonArgumentType;parse(Lcom/mojang/brigadier/StringReader;)Lnet/minecraft/util/Identifier;
-
getExamples
- Specified by:
getExamplesin interfacecom.mojang.brigadier.arguments.ArgumentType<Identifier>
-