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 named net/minecraft/command/argument/AngleArgumentType
intermediary net/minecraft/class_5473
official fc
-
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, parse
-
Field Details
-
EXAMPLES
- Mappings:
Namespace Name Mixin selector named EXAMPLES
Lnet/minecraft/command/argument/AngleArgumentType;EXAMPLES:Ljava/util/Collection;
intermediary field_26369
Lnet/minecraft/class_5473;field_26369:Ljava/util/Collection;
official c
Lfc;c:Ljava/util/Collection;
-
INCOMPLETE_ANGLE_EXCEPTION
public static final com.mojang.brigadier.exceptions.SimpleCommandExceptionType INCOMPLETE_ANGLE_EXCEPTION- Mappings:
Namespace Name Mixin selector named INCOMPLETE_ANGLE_EXCEPTION
Lnet/minecraft/command/argument/AngleArgumentType;INCOMPLETE_ANGLE_EXCEPTION:Lcom/mojang/brigadier/exceptions/SimpleCommandExceptionType;
intermediary field_26368
Lnet/minecraft/class_5473;field_26368:Lcom/mojang/brigadier/exceptions/SimpleCommandExceptionType;
official a
Lfc;a:Lcom/mojang/brigadier/exceptions/SimpleCommandExceptionType;
-
INVALID_ANGLE_EXCEPTION
public static final com.mojang.brigadier.exceptions.SimpleCommandExceptionType INVALID_ANGLE_EXCEPTION- Mappings:
Namespace Name Mixin selector named INVALID_ANGLE_EXCEPTION
Lnet/minecraft/command/argument/AngleArgumentType;INVALID_ANGLE_EXCEPTION:Lcom/mojang/brigadier/exceptions/SimpleCommandExceptionType;
intermediary field_27345
Lnet/minecraft/class_5473;field_27345:Lcom/mojang/brigadier/exceptions/SimpleCommandExceptionType;
official b
Lfc;b:Lcom/mojang/brigadier/exceptions/SimpleCommandExceptionType;
-
-
Constructor Details
-
AngleArgumentType
public AngleArgumentType()
-
-
Method Details
-
angle
- Mappings:
Namespace Name Mixin selector named angle
Lnet/minecraft/command/argument/AngleArgumentType;angle()Lnet/minecraft/command/argument/AngleArgumentType;
intermediary method_30658
Lnet/minecraft/class_5473;method_30658()Lnet/minecraft/class_5473;
official a
Lfc;a()Lfc;
-
getAngle
public static float getAngle(com.mojang.brigadier.context.CommandContext<ServerCommandSource> context, String name) - Mappings:
Namespace Name Mixin selector named getAngle
Lnet/minecraft/command/argument/AngleArgumentType;getAngle(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
official a
Lfc;a(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 named parse
Lnet/minecraft/command/argument/AngleArgumentType;parse(Lcom/mojang/brigadier/StringReader;)Lnet/minecraft/command/argument/AngleArgumentType$Angle;
intermediary method_30659
Lnet/minecraft/class_5473;method_30659(Lcom/mojang/brigadier/StringReader;)Lnet/minecraft/class_5473$class_5474;
official a
Lfc;a(Lcom/mojang/brigadier/StringReader;)Lfc$a;
-
getExamples
- Specified by:
getExamples
in interfacecom.mojang.brigadier.arguments.ArgumentType<AngleArgumentType.Angle>
-