类 LookingPosArgument
- java.lang.Object
-
- net.minecraft.command.argument.LookingPosArgument
-
- 所有已实现的接口:
PosArgument
public class LookingPosArgument extends Object implements PosArgument
- Mappings:
Namespace Name official esintermediary net/minecraft/class_2268named net/minecraft/command/argument/LookingPosArgument
-
-
字段概要
字段 修饰符和类型 字段 说明 static charfield_32941private doublexprivate doubleyprivate doublez
-
构造器概要
构造器 构造器 说明 LookingPosArgument(double x, double y, double z)
-
方法概要
所有方法 静态方法 实例方法 具体方法 修饰符和类型 方法 说明 booleanequals(Object o)inthashCode()booleanisXRelative()booleanisYRelative()booleanisZRelative()static LookingPosArgumentparse(com.mojang.brigadier.StringReader reader)private static doublereadCoordinate(com.mojang.brigadier.StringReader reader, int startingCursorPos)Vec3dtoAbsolutePos(ServerCommandSource source)Vec2ftoAbsoluteRotation(ServerCommandSource source)-
从接口继承的方法 net.minecraft.command.argument.PosArgument
toAbsoluteBlockPos
-
-
-
-
字段详细资料
-
field_32941
public static final char field_32941
- 另请参阅:
- 常量字段值
- Mappings:
Namespace Name Mixin selector official aLes;a:Cintermediary field_32941Lnet/minecraft/class_2268;field_32941:Cnamed field_32941Lnet/minecraft/command/argument/LookingPosArgument;field_32941:C
-
x
private final double x
- Mappings:
Namespace Name Mixin selector official bLes;b:Dintermediary field_10714Lnet/minecraft/class_2268;field_10714:Dnamed xLnet/minecraft/command/argument/LookingPosArgument;x:D
-
y
private final double y
- Mappings:
Namespace Name Mixin selector official cLes;c:Dintermediary field_10713Lnet/minecraft/class_2268;field_10713:Dnamed yLnet/minecraft/command/argument/LookingPosArgument;y:D
-
z
private final double z
- Mappings:
Namespace Name Mixin selector official dLes;d:Dintermediary field_10712Lnet/minecraft/class_2268;field_10712:Dnamed zLnet/minecraft/command/argument/LookingPosArgument;z:D
-
-
方法详细资料
-
toAbsolutePos
public Vec3d toAbsolutePos(ServerCommandSource source)
- 指定者:
toAbsolutePos在接口中PosArgument- Mappings:
Namespace Name Mixin selector official aLer;a(Ldg;)Ldma;intermediary method_9708Lnet/minecraft/class_2267;method_9708(Lnet/minecraft/class_2168;)Lnet/minecraft/class_243;named toAbsolutePosLnet/minecraft/command/argument/PosArgument;toAbsolutePos(Lnet/minecraft/server/command/ServerCommandSource;)Lnet/minecraft/util/math/Vec3d;
-
toAbsoluteRotation
public Vec2f toAbsoluteRotation(ServerCommandSource source)
- 指定者:
toAbsoluteRotation在接口中PosArgument- Mappings:
Namespace Name Mixin selector official bLer;b(Ldg;)Ldlz;intermediary method_9709Lnet/minecraft/class_2267;method_9709(Lnet/minecraft/class_2168;)Lnet/minecraft/class_241;named toAbsoluteRotationLnet/minecraft/command/argument/PosArgument;toAbsoluteRotation(Lnet/minecraft/server/command/ServerCommandSource;)Lnet/minecraft/util/math/Vec2f;
-
isXRelative
public boolean isXRelative()
- 指定者:
isXRelative在接口中PosArgument- Mappings:
Namespace Name Mixin selector official aLer;a()Zintermediary method_9705Lnet/minecraft/class_2267;method_9705()Znamed isXRelativeLnet/minecraft/command/argument/PosArgument;isXRelative()Z
-
isYRelative
public boolean isYRelative()
- 指定者:
isYRelative在接口中PosArgument- Mappings:
Namespace Name Mixin selector official bLer;b()Zintermediary method_9706Lnet/minecraft/class_2267;method_9706()Znamed isYRelativeLnet/minecraft/command/argument/PosArgument;isYRelative()Z
-
isZRelative
public boolean isZRelative()
- 指定者:
isZRelative在接口中PosArgument- Mappings:
Namespace Name Mixin selector official cLer;c()Zintermediary method_9707Lnet/minecraft/class_2267;method_9707()Znamed isZRelativeLnet/minecraft/command/argument/PosArgument;isZRelative()Z
-
parse
public static LookingPosArgument parse(com.mojang.brigadier.StringReader reader) throws com.mojang.brigadier.exceptions.CommandSyntaxException
- 抛出:
com.mojang.brigadier.exceptions.CommandSyntaxException- Mappings:
Namespace Name Mixin selector official aLes;a(Lcom/mojang/brigadier/StringReader;)Les;intermediary method_9711Lnet/minecraft/class_2268;method_9711(Lcom/mojang/brigadier/StringReader;)Lnet/minecraft/class_2268;named parseLnet/minecraft/command/argument/LookingPosArgument;parse(Lcom/mojang/brigadier/StringReader;)Lnet/minecraft/command/argument/LookingPosArgument;
-
readCoordinate
private static double readCoordinate(com.mojang.brigadier.StringReader reader, int startingCursorPos) throws com.mojang.brigadier.exceptions.CommandSyntaxException- 抛出:
com.mojang.brigadier.exceptions.CommandSyntaxException- Mappings:
Namespace Name Mixin selector official aLes;a(Lcom/mojang/brigadier/StringReader;I)Dintermediary method_9710Lnet/minecraft/class_2268;method_9710(Lcom/mojang/brigadier/StringReader;I)Dnamed readCoordinateLnet/minecraft/command/argument/LookingPosArgument;readCoordinate(Lcom/mojang/brigadier/StringReader;I)D
-
equals
public boolean equals(Object o)
-
-