Package net.minecraft.command.argument
Class StyleArgumentType
java.lang.Object
net.minecraft.command.argument.ParserBackedArgumentType<Style>
net.minecraft.command.argument.StyleArgumentType
- All Implemented Interfaces:
com.mojang.brigadier.arguments.ArgumentType<Style>
- Mappings:
Namespace Name named net/minecraft/command/argument/StyleArgumentType
intermediary net/minecraft/class_9019
official fy
-
Field Summary
FieldsModifier and TypeFieldDescriptionprivate static final Collection
<String> static final com.mojang.brigadier.exceptions.DynamicCommandExceptionType
private static final com.mojang.serialization.DynamicOps
<NbtElement> private static final Parser
<NbtElement> -
Constructor Summary
ConstructorsModifierConstructorDescriptionprivate
StyleArgumentType
(RegistryWrapper.WrapperLookup registries) -
Method Summary
Modifier and TypeMethodDescriptionstatic Style
getStyle
(com.mojang.brigadier.context.CommandContext<ServerCommandSource> context, String style) static StyleArgumentType
style
(CommandRegistryAccess registryAccess) Methods inherited from class net.minecraft.command.argument.ParserBackedArgumentType
listSuggestions, parse
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
parse
-
Field Details
-
EXAMPLES
- Mappings:
Namespace Name Mixin selector named EXAMPLES
Lnet/minecraft/command/argument/StyleArgumentType;EXAMPLES:Ljava/util/Collection;
intermediary field_47554
Lnet/minecraft/class_9019;field_47554:Ljava/util/Collection;
official b
Lfy;b:Ljava/util/Collection;
-
INVALID_STYLE_EXCEPTION
public static final com.mojang.brigadier.exceptions.DynamicCommandExceptionType INVALID_STYLE_EXCEPTION- Mappings:
Namespace Name Mixin selector named INVALID_STYLE_EXCEPTION
Lnet/minecraft/command/argument/StyleArgumentType;INVALID_STYLE_EXCEPTION:Lcom/mojang/brigadier/exceptions/DynamicCommandExceptionType;
intermediary field_55866
Lnet/minecraft/class_9019;field_55866:Lcom/mojang/brigadier/exceptions/DynamicCommandExceptionType;
official a
Lfy;a:Lcom/mojang/brigadier/exceptions/DynamicCommandExceptionType;
-
OPS
- Mappings:
Namespace Name Mixin selector named OPS
Lnet/minecraft/command/argument/StyleArgumentType;OPS:Lcom/mojang/serialization/DynamicOps;
intermediary field_58154
Lnet/minecraft/class_9019;field_58154:Lcom/mojang/serialization/DynamicOps;
official c
Lfy;c:Lcom/mojang/serialization/DynamicOps;
-
PARSER
- Mappings:
Namespace Name Mixin selector named PARSER
Lnet/minecraft/command/argument/StyleArgumentType;PARSER:Lnet/minecraft/util/packrat/Parser;
intermediary field_57922
Lnet/minecraft/class_9019;field_57922:Lnet/minecraft/class_10846;
official d
Lfy;d:Lbsw;
-
-
Constructor Details
-
StyleArgumentType
- Mappings:
Namespace Name Mixin selector named <init>
Lnet/minecraft/command/argument/StyleArgumentType;<init>(Lnet/minecraft/registry/RegistryWrapper$WrapperLookup;)V
intermediary <init>
Lnet/minecraft/class_9019;<init>(Lnet/minecraft/class_7225$class_7874;)V
official <init>
Lfy;<init>(Ljn$a;)V
-
-
Method Details
-
getStyle
public static Style getStyle(com.mojang.brigadier.context.CommandContext<ServerCommandSource> context, String style) - Mappings:
Namespace Name Mixin selector named getStyle
Lnet/minecraft/command/argument/StyleArgumentType;getStyle(Lcom/mojang/brigadier/context/CommandContext;Ljava/lang/String;)Lnet/minecraft/text/Style;
intermediary method_55448
Lnet/minecraft/class_9019;method_55448(Lcom/mojang/brigadier/context/CommandContext;Ljava/lang/String;)Lnet/minecraft/class_2583;
official a
Lfy;a(Lcom/mojang/brigadier/context/CommandContext;Ljava/lang/String;)Lyl;
-
style
- Mappings:
Namespace Name Mixin selector named style
Lnet/minecraft/command/argument/StyleArgumentType;style(Lnet/minecraft/command/CommandRegistryAccess;)Lnet/minecraft/command/argument/StyleArgumentType;
intermediary method_55446
Lnet/minecraft/class_9019;method_55446(Lnet/minecraft/class_7157;)Lnet/minecraft/class_9019;
official a
Lfy;a(Leg;)Lfy;
-
getExamples
-