类 RotationArgument
java.lang.Object
net.minecraft.commands.arguments.coordinates.RotationArgument
- 所有已实现的接口:
com.mojang.brigadier.arguments.ArgumentType<Coordinates>
public class RotationArgument
extends Object
implements com.mojang.brigadier.arguments.ArgumentType<Coordinates>
-
字段概要
字段修饰符和类型字段说明static final com.mojang.brigadier.exceptions.SimpleCommandExceptionType
private static final Collection
<String> -
构造器概要
构造器 -
方法概要
修饰符和类型方法说明static Coordinates
getRotation
(com.mojang.brigadier.context.CommandContext<CommandSourceStack> p_120483_, String p_120484_) parse
(com.mojang.brigadier.StringReader p_120481_) static RotationArgument
rotation()
从类继承的方法 java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
从接口继承的方法 com.mojang.brigadier.arguments.ArgumentType
listSuggestions, parse
-
字段详细资料
-
EXAMPLES
-
ERROR_NOT_COMPLETE
public static final com.mojang.brigadier.exceptions.SimpleCommandExceptionType ERROR_NOT_COMPLETE
-
-
构造器详细资料
-
RotationArgument
public RotationArgument()
-
-
方法详细资料
-
rotation
-
getRotation
public static Coordinates getRotation(com.mojang.brigadier.context.CommandContext<CommandSourceStack> p_120483_, String p_120484_) -
parse
public Coordinates parse(com.mojang.brigadier.StringReader p_120481_) throws com.mojang.brigadier.exceptions.CommandSyntaxException - 指定者:
parse
在接口中com.mojang.brigadier.arguments.ArgumentType<Coordinates>
- 抛出:
com.mojang.brigadier.exceptions.CommandSyntaxException
-
getExamples
- 指定者:
getExamples
在接口中com.mojang.brigadier.arguments.ArgumentType<Coordinates>
-