类 EntitySummonArgumentType
- java.lang.Object
-
- net.minecraft.command.argument.EntitySummonArgumentType
-
- 所有已实现的接口:
com.mojang.brigadier.arguments.ArgumentType<Identifier>
public class EntitySummonArgumentType extends Object implements com.mojang.brigadier.arguments.ArgumentType<Identifier>
- Mappings:
Namespace Name official drintermediary net/minecraft/class_2188named net/minecraft/command/argument/EntitySummonArgumentType
-
-
字段概要
字段 修饰符和类型 字段 说明 private static Collection<String>EXAMPLESstatic com.mojang.brigadier.exceptions.DynamicCommandExceptionTypeNOT_FOUND_EXCEPTION
-
构造器概要
构造器 构造器 说明 EntitySummonArgumentType()
-
方法概要
所有方法 静态方法 实例方法 具体方法 修饰符和类型 方法 说明 static EntitySummonArgumentTypeentitySummon()static IdentifiergetEntitySummon(com.mojang.brigadier.context.CommandContext<ServerCommandSource> context, String name)Collection<String>getExamples()Identifierparse(com.mojang.brigadier.StringReader stringReader)private static Identifiervalidate(Identifier identifier)
-
-
-
字段详细资料
-
EXAMPLES
private static final Collection<String> EXAMPLES
- Mappings:
Namespace Name Mixin selector official bLdr;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 aLdr;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;
-
-
方法详细资料
-
entitySummon
public static EntitySummonArgumentType entitySummon()
- Mappings:
Namespace Name Mixin selector official aLdr;a()Ldr;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
- 抛出:
com.mojang.brigadier.exceptions.CommandSyntaxException- Mappings:
Namespace Name Mixin selector official aLdr;a(Lcom/mojang/brigadier/context/CommandContext;Ljava/lang/String;)Lwp;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 identifier) throws com.mojang.brigadier.exceptions.CommandSyntaxException
- 抛出:
com.mojang.brigadier.exceptions.CommandSyntaxException- Mappings:
Namespace Name Mixin selector official aLdr;a(Lwp;)Lwp;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
- 指定者:
parse在接口中com.mojang.brigadier.arguments.ArgumentType<Identifier>- 抛出:
com.mojang.brigadier.exceptions.CommandSyntaxException- Mappings:
Namespace Name Mixin selector official aLdr;a(Lcom/mojang/brigadier/StringReader;)Lwp;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
public Collection<String> getExamples()
- 指定者:
getExamples在接口中com.mojang.brigadier.arguments.ArgumentType<Identifier>- Mappings:
Namespace Name Mixin selector official getExamplesLdr;getExamples()Ljava/util/Collection;intermediary getExamplesLnet/minecraft/class_2188;getExamples()Ljava/util/Collection;named getExamplesLnet/minecraft/command/argument/EntitySummonArgumentType;getExamples()Ljava/util/Collection;
-
-