类 RotationArgumentType
- java.lang.Object
-
- net.minecraft.command.argument.RotationArgumentType
-
- 所有已实现的接口:
com.mojang.brigadier.arguments.ArgumentType<PosArgument>
public class RotationArgumentType extends Object implements com.mojang.brigadier.arguments.ArgumentType<PosArgument>
- Mappings:
Namespace Name official etintermediary net/minecraft/class_2270named net/minecraft/command/argument/RotationArgumentType
-
-
字段概要
字段 修饰符和类型 字段 说明 private static Collection<String>EXAMPLESstatic com.mojang.brigadier.exceptions.SimpleCommandExceptionTypeINCOMPLETE_ROTATION_EXCEPTION
-
构造器概要
构造器 构造器 说明 RotationArgumentType()
-
方法概要
所有方法 静态方法 实例方法 具体方法 修饰符和类型 方法 说明 Collection<String>getExamples()static PosArgumentgetRotation(com.mojang.brigadier.context.CommandContext<ServerCommandSource> context, String name)PosArgumentparse(com.mojang.brigadier.StringReader stringReader)static RotationArgumentTyperotation()
-
-
-
字段详细资料
-
EXAMPLES
private static final Collection<String> EXAMPLES
- Mappings:
Namespace Name Mixin selector official bLet;b:Ljava/util/Collection;intermediary field_10735Lnet/minecraft/class_2270;field_10735:Ljava/util/Collection;named EXAMPLESLnet/minecraft/command/argument/RotationArgumentType;EXAMPLES:Ljava/util/Collection;
-
INCOMPLETE_ROTATION_EXCEPTION
public static final com.mojang.brigadier.exceptions.SimpleCommandExceptionType INCOMPLETE_ROTATION_EXCEPTION
- Mappings:
Namespace Name Mixin selector official aLet;a:Lcom/mojang/brigadier/exceptions/SimpleCommandExceptionType;intermediary field_10736Lnet/minecraft/class_2270;field_10736:Lcom/mojang/brigadier/exceptions/SimpleCommandExceptionType;named INCOMPLETE_ROTATION_EXCEPTIONLnet/minecraft/command/argument/RotationArgumentType;INCOMPLETE_ROTATION_EXCEPTION:Lcom/mojang/brigadier/exceptions/SimpleCommandExceptionType;
-
-
方法详细资料
-
rotation
public static RotationArgumentType rotation()
- Mappings:
Namespace Name Mixin selector official aLet;a()Let;intermediary method_9717Lnet/minecraft/class_2270;method_9717()Lnet/minecraft/class_2270;named rotationLnet/minecraft/command/argument/RotationArgumentType;rotation()Lnet/minecraft/command/argument/RotationArgumentType;
-
getRotation
public static PosArgument getRotation(com.mojang.brigadier.context.CommandContext<ServerCommandSource> context, String name)
- Mappings:
Namespace Name Mixin selector official aLet;a(Lcom/mojang/brigadier/context/CommandContext;Ljava/lang/String;)Ler;intermediary method_9716Lnet/minecraft/class_2270;method_9716(Lcom/mojang/brigadier/context/CommandContext;Ljava/lang/String;)Lnet/minecraft/class_2267;named getRotationLnet/minecraft/command/argument/RotationArgumentType;getRotation(Lcom/mojang/brigadier/context/CommandContext;Ljava/lang/String;)Lnet/minecraft/command/argument/PosArgument;
-
parse
public PosArgument parse(com.mojang.brigadier.StringReader stringReader) throws com.mojang.brigadier.exceptions.CommandSyntaxException
- 指定者:
parse在接口中com.mojang.brigadier.arguments.ArgumentType<PosArgument>- 抛出:
com.mojang.brigadier.exceptions.CommandSyntaxException- Mappings:
Namespace Name Mixin selector official aLet;a(Lcom/mojang/brigadier/StringReader;)Ler;intermediary method_9718Lnet/minecraft/class_2270;method_9718(Lcom/mojang/brigadier/StringReader;)Lnet/minecraft/class_2267;named parseLnet/minecraft/command/argument/RotationArgumentType;parse(Lcom/mojang/brigadier/StringReader;)Lnet/minecraft/command/argument/PosArgument;
-
getExamples
public Collection<String> getExamples()
- 指定者:
getExamples在接口中com.mojang.brigadier.arguments.ArgumentType<PosArgument>- Mappings:
Namespace Name Mixin selector official getExamplesLet;getExamples()Ljava/util/Collection;intermediary getExamplesLnet/minecraft/class_2270;getExamples()Ljava/util/Collection;named getExamplesLnet/minecraft/command/argument/RotationArgumentType;getExamples()Ljava/util/Collection;
-
-