Package net.minecraft.command.argument
Class AngleArgumentType
java.lang.Object
net.minecraft.command.argument.AngleArgumentType
- All Implemented Interfaces:
com.mojang.brigadier.arguments.ArgumentType<AngleArgumentType.Angle>
public class AngleArgumentType
extends Object
implements com.mojang.brigadier.arguments.ArgumentType<AngleArgumentType.Angle>
- Mappings:
Namespace Name official dy
intermediary net/minecraft/class_5473
named net/minecraft/command/argument/AngleArgumentType
-
Nested Class Summary
-
Field Summary
Modifier and TypeFieldDescriptionprivate static final Collection<String>
static final com.mojang.brigadier.exceptions.SimpleCommandExceptionType
static final com.mojang.brigadier.exceptions.SimpleCommandExceptionType
-
Constructor Summary
-
Method Summary
Modifier and TypeMethodDescriptionstatic AngleArgumentType
angle()
static float
getAngle
(com.mojang.brigadier.context.CommandContext<ServerCommandSource> context, String name) parse
(com.mojang.brigadier.StringReader stringReader) Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
Methods inherited from interface com.mojang.brigadier.arguments.ArgumentType
listSuggestions
-
Field Details
-
EXAMPLES
- Mappings:
Namespace Name Mixin selector official c
Ldy;c:Ljava/util/Collection;
intermediary field_26369
Lnet/minecraft/class_5473;field_26369:Ljava/util/Collection;
named EXAMPLES
Lnet/minecraft/command/argument/AngleArgumentType;EXAMPLES:Ljava/util/Collection;
-
INCOMPLETE_ANGLE_EXCEPTION
public static final com.mojang.brigadier.exceptions.SimpleCommandExceptionType INCOMPLETE_ANGLE_EXCEPTION- Mappings:
Namespace Name Mixin selector official a
Ldy;a:Lcom/mojang/brigadier/exceptions/SimpleCommandExceptionType;
intermediary field_26368
Lnet/minecraft/class_5473;field_26368:Lcom/mojang/brigadier/exceptions/SimpleCommandExceptionType;
named INCOMPLETE_ANGLE_EXCEPTION
Lnet/minecraft/command/argument/AngleArgumentType;INCOMPLETE_ANGLE_EXCEPTION:Lcom/mojang/brigadier/exceptions/SimpleCommandExceptionType;
-
INVALID_ANGLE_EXCEPTION
public static final com.mojang.brigadier.exceptions.SimpleCommandExceptionType INVALID_ANGLE_EXCEPTION- Mappings:
Namespace Name Mixin selector official b
Ldy;b:Lcom/mojang/brigadier/exceptions/SimpleCommandExceptionType;
intermediary field_27345
Lnet/minecraft/class_5473;field_27345:Lcom/mojang/brigadier/exceptions/SimpleCommandExceptionType;
named INVALID_ANGLE_EXCEPTION
Lnet/minecraft/command/argument/AngleArgumentType;INVALID_ANGLE_EXCEPTION:Lcom/mojang/brigadier/exceptions/SimpleCommandExceptionType;
-
-
Constructor Details
-
AngleArgumentType
public AngleArgumentType()
-
-
Method Details
-
angle
- Mappings:
Namespace Name Mixin selector official a
Ldy;a()Ldy;
intermediary method_30658
Lnet/minecraft/class_5473;method_30658()Lnet/minecraft/class_5473;
named angle
Lnet/minecraft/command/argument/AngleArgumentType;angle()Lnet/minecraft/command/argument/AngleArgumentType;
-
getAngle
public static float getAngle(com.mojang.brigadier.context.CommandContext<ServerCommandSource> context, String name) - Mappings:
Namespace Name Mixin selector official a
Ldy;a(Lcom/mojang/brigadier/context/CommandContext;Ljava/lang/String;)F
intermediary method_30660
Lnet/minecraft/class_5473;method_30660(Lcom/mojang/brigadier/context/CommandContext;Ljava/lang/String;)F
named getAngle
Lnet/minecraft/command/argument/AngleArgumentType;getAngle(Lcom/mojang/brigadier/context/CommandContext;Ljava/lang/String;)F
-
parse
public AngleArgumentType.Angle parse(com.mojang.brigadier.StringReader stringReader) throws com.mojang.brigadier.exceptions.CommandSyntaxException - Specified by:
parse
in interfacecom.mojang.brigadier.arguments.ArgumentType<AngleArgumentType.Angle>
- Throws:
com.mojang.brigadier.exceptions.CommandSyntaxException
- Mappings:
Namespace Name Mixin selector official a
Ldy;a(Lcom/mojang/brigadier/StringReader;)Ldy$a;
intermediary method_30659
Lnet/minecraft/class_5473;method_30659(Lcom/mojang/brigadier/StringReader;)Lnet/minecraft/class_5473$class_5474;
named parse
Lnet/minecraft/command/argument/AngleArgumentType;parse(Lcom/mojang/brigadier/StringReader;)Lnet/minecraft/command/argument/AngleArgumentType$Angle;
-
getExamples
- Specified by:
getExamples
in interfacecom.mojang.brigadier.arguments.ArgumentType<AngleArgumentType.Angle>
-