Package net.minecraft.command.argument
Class ArgumentHelper
java.lang.Object
net.minecraft.command.argument.ArgumentHelper
- Mappings:
- Namespace - Name - named - net/minecraft/command/argument/ArgumentHelper- intermediary - net/minecraft/class_7218- official - iv
- 
Field SummaryFields
- 
Constructor SummaryConstructors
- 
Method SummaryModifier and TypeMethodDescriptionstatic <T> Set<com.mojang.brigadier.arguments.ArgumentType<?>> collectUsedArgumentTypes(com.mojang.brigadier.tree.CommandNode<T> rootNode) private static <T> voidcollectUsedArgumentTypes(com.mojang.brigadier.tree.CommandNode<T> node, Set<com.mojang.brigadier.arguments.ArgumentType<?>> usedArgumentTypes, Set<com.mojang.brigadier.tree.CommandNode<T>> visitedNodes) static intgetMinMaxFlag(boolean hasMin, boolean hasMax) static booleanhasMaxFlag(byte flags) static booleanhasMinFlag(byte flags) static <S> JsonObjecttoJson(com.mojang.brigadier.CommandDispatcher<S> dispatcher, com.mojang.brigadier.tree.CommandNode<S> rootNode) private static <T extends com.mojang.brigadier.arguments.ArgumentType<?>>
 voidwriteArgument(JsonObject json, T argumentType) private static <A extends com.mojang.brigadier.arguments.ArgumentType<?>>
 voidwriteArgumentProperties(JsonObject json, ArgumentSerializer.ArgumentTypeProperties<A> properties) private static <A extends com.mojang.brigadier.arguments.ArgumentType<?>,T extends ArgumentSerializer.ArgumentTypeProperties<A>> 
 voidwriteArgumentProperties(JsonObject json, ArgumentSerializer<A, T> serializer, ArgumentSerializer.ArgumentTypeProperties<A> properties) 
- 
Field Details- 
LOGGER- Mappings:
- Namespace - Name - Mixin selector - named - LOGGER- Lnet/minecraft/command/argument/ArgumentHelper;LOGGER:Lorg/slf4j/Logger;- intermediary - field_37975- Lnet/minecraft/class_7218;field_37975:Lorg/slf4j/Logger;- official - a- Liv;a:Lorg/slf4j/Logger;
 
- 
MIN_FLAGprivate static final byte MIN_FLAG- See Also:
- Mappings:
- Namespace - Name - Mixin selector - named - MIN_FLAG- Lnet/minecraft/command/argument/ArgumentHelper;MIN_FLAG:B- intermediary - field_37976- Lnet/minecraft/class_7218;field_37976:B- official - b- Liv;b:B
 
- 
MAX_FLAGprivate static final byte MAX_FLAG- See Also:
- Mappings:
- Namespace - Name - Mixin selector - named - MAX_FLAG- Lnet/minecraft/command/argument/ArgumentHelper;MAX_FLAG:B- intermediary - field_37977- Lnet/minecraft/class_7218;field_37977:B- official - c- Liv;c:B
 
 
- 
- 
Constructor Details- 
ArgumentHelperpublic ArgumentHelper()
 
- 
- 
Method Details- 
getMinMaxFlagpublic static int getMinMaxFlag(boolean hasMin, boolean hasMax) - Mappings:
- Namespace - Name - Mixin selector - named - getMinMaxFlag- Lnet/minecraft/command/argument/ArgumentHelper;getMinMaxFlag(ZZ)I- intermediary - method_41994- Lnet/minecraft/class_7218;method_41994(ZZ)I- official - a- Liv;a(ZZ)I
 
- 
hasMinFlagpublic static boolean hasMinFlag(byte flags) - Mappings:
- Namespace - Name - Mixin selector - named - hasMinFlag- Lnet/minecraft/command/argument/ArgumentHelper;hasMinFlag(B)Z- intermediary - method_41986- Lnet/minecraft/class_7218;method_41986(B)Z- official - a- Liv;a(B)Z
 
- 
hasMaxFlagpublic static boolean hasMaxFlag(byte flags) - Mappings:
- Namespace - Name - Mixin selector - named - hasMaxFlag- Lnet/minecraft/command/argument/ArgumentHelper;hasMaxFlag(B)Z- intermediary - method_41995- Lnet/minecraft/class_7218;method_41995(B)Z- official - b- Liv;b(B)Z
 
- 
writeArgumentPropertiesprivate static <A extends com.mojang.brigadier.arguments.ArgumentType<?>> void writeArgumentProperties(JsonObject json, ArgumentSerializer.ArgumentTypeProperties<A> properties) - Mappings:
- Namespace - Name - Mixin selector - named - writeArgumentProperties- Lnet/minecraft/command/argument/ArgumentHelper;writeArgumentProperties(Lcom/google/gson/JsonObject;Lnet/minecraft/command/argument/serialize/ArgumentSerializer$ArgumentTypeProperties;)V- intermediary - method_41988- Lnet/minecraft/class_7218;method_41988(Lcom/google/gson/JsonObject;Lnet/minecraft/class_2314$class_7217;)V- official - a- Liv;a(Lcom/google/gson/JsonObject;Lit$a;)V
 
- 
writeArgumentPropertiesprivate static <A extends com.mojang.brigadier.arguments.ArgumentType<?>,T extends ArgumentSerializer.ArgumentTypeProperties<A>> void writeArgumentProperties(JsonObject json, ArgumentSerializer<A, T> serializer, ArgumentSerializer.ArgumentTypeProperties<A> properties) - Mappings:
- Namespace - Name - Mixin selector - named - writeArgumentProperties- Lnet/minecraft/command/argument/ArgumentHelper;writeArgumentProperties(Lcom/google/gson/JsonObject;Lnet/minecraft/command/argument/serialize/ArgumentSerializer;Lnet/minecraft/command/argument/serialize/ArgumentSerializer$ArgumentTypeProperties;)V- intermediary - method_41989- Lnet/minecraft/class_7218;method_41989(Lcom/google/gson/JsonObject;Lnet/minecraft/class_2314;Lnet/minecraft/class_2314$class_7217;)V- official - a- Liv;a(Lcom/google/gson/JsonObject;Lit;Lit$a;)V
 
- 
writeArgumentprivate static <T extends com.mojang.brigadier.arguments.ArgumentType<?>> void writeArgument(JsonObject json, T argumentType) - Mappings:
- Namespace - Name - Mixin selector - named - writeArgument- Lnet/minecraft/command/argument/ArgumentHelper;writeArgument(Lcom/google/gson/JsonObject;Lcom/mojang/brigadier/arguments/ArgumentType;)V- intermediary - method_41987- Lnet/minecraft/class_7218;method_41987(Lcom/google/gson/JsonObject;Lcom/mojang/brigadier/arguments/ArgumentType;)V- official - a- Liv;a(Lcom/google/gson/JsonObject;Lcom/mojang/brigadier/arguments/ArgumentType;)V
 
- 
toJsonpublic static <S> JsonObject toJson(com.mojang.brigadier.CommandDispatcher<S> dispatcher, com.mojang.brigadier.tree.CommandNode<S> rootNode) - Mappings:
- Namespace - Name - Mixin selector - named - toJson- Lnet/minecraft/command/argument/ArgumentHelper;toJson(Lcom/mojang/brigadier/CommandDispatcher;Lcom/mojang/brigadier/tree/CommandNode;)Lcom/google/gson/JsonObject;- intermediary - method_41990- Lnet/minecraft/class_7218;method_41990(Lcom/mojang/brigadier/CommandDispatcher;Lcom/mojang/brigadier/tree/CommandNode;)Lcom/google/gson/JsonObject;- official - a- Liv;a(Lcom/mojang/brigadier/CommandDispatcher;Lcom/mojang/brigadier/tree/CommandNode;)Lcom/google/gson/JsonObject;
 
- 
collectUsedArgumentTypespublic static <T> Set<com.mojang.brigadier.arguments.ArgumentType<?>> collectUsedArgumentTypes(com.mojang.brigadier.tree.CommandNode<T> rootNode) - Mappings:
- Namespace - Name - Mixin selector - named - collectUsedArgumentTypes- Lnet/minecraft/command/argument/ArgumentHelper;collectUsedArgumentTypes(Lcom/mojang/brigadier/tree/CommandNode;)Ljava/util/Set;- intermediary - method_41991- Lnet/minecraft/class_7218;method_41991(Lcom/mojang/brigadier/tree/CommandNode;)Ljava/util/Set;- official - a- Liv;a(Lcom/mojang/brigadier/tree/CommandNode;)Ljava/util/Set;
 
- 
collectUsedArgumentTypesprivate static <T> void collectUsedArgumentTypes(com.mojang.brigadier.tree.CommandNode<T> node, Set<com.mojang.brigadier.arguments.ArgumentType<?>> usedArgumentTypes, Set<com.mojang.brigadier.tree.CommandNode<T>> visitedNodes) - Mappings:
- Namespace - Name - Mixin selector - named - collectUsedArgumentTypes- Lnet/minecraft/command/argument/ArgumentHelper;collectUsedArgumentTypes(Lcom/mojang/brigadier/tree/CommandNode;Ljava/util/Set;Ljava/util/Set;)V- intermediary - method_41992- Lnet/minecraft/class_7218;method_41992(Lcom/mojang/brigadier/tree/CommandNode;Ljava/util/Set;Ljava/util/Set;)V- official - a- Liv;a(Lcom/mojang/brigadier/tree/CommandNode;Ljava/util/Set;Ljava/util/Set;)V
 
 
-