net.minecraft.command.argument

public class ArgumentHelper

net.minecraft.commands.synchronization.ArgumentUtils
net.minecraft.class_7218
net.minecraft.command.argument.ArgumentHelper

Field summary

Modifier and TypeField
private static final org.slf4j.Logger
LOGGER
field_37975
LOGGER
private static final byte
NUMBER_FLAG_MIN
field_37976
MIN_FLAG
private static final byte
NUMBER_FLAG_MAX
field_37977
MAX_FLAG

Constructor summary

ModifierConstructor
public ()

Method summary

Modifier and TypeMethod
public static int
createNumberFlags(boolean hasMin, boolean hasMax)
method_41994(boolean arg0, boolean arg1)
getMinMaxFlag(boolean hasMin, boolean hasMax)
public static boolean
numberHasMin(byte flags)
method_41986(byte arg0)
hasMinFlag(byte flags)
public static boolean
numberHasMax(byte flags)
method_41995(byte arg0)
hasMaxFlag(byte flags)
private static <A extends com.mojang.brigadier.arguments.ArgumentType<?>, T extends ArgumentSerializer$ArgumentTypeProperties<A>> void
serializeArgumentCap(com.google.gson.JsonObject result, ArgumentTypeInfo<A, T> info, ArgumentTypeInfo$Template<A> argumentType)
method_71941(com.google.gson.JsonObject arg0, class_2314<A, T> arg1, class_2314$class_7217<A> arg2)
writeArgumentTypeProperties(com.google.gson.JsonObject json, ArgumentSerializer<A, T> serializer, ArgumentSerializer$ArgumentTypeProperties<A> properties)
private static <T extends com.mojang.brigadier.arguments.ArgumentType<?>> void
serializeArgumentToJson(com.google.gson.JsonObject result, T argument)
method_41987(com.google.gson.JsonObject arg0, T arg1)
writeArgument(com.google.gson.JsonObject json, T argumentType)
public static <S> com.google.gson.JsonObject
serializeNodeToJson(com.mojang.brigadier.CommandDispatcher<S> dispatcher, com.mojang.brigadier.tree.CommandNode<S> node)
method_41990(com.mojang.brigadier.CommandDispatcher<S> arg0, com.mojang.brigadier.tree.CommandNode<S> arg1)
toJson(com.mojang.brigadier.CommandDispatcher<S> dispatcher, com.mojang.brigadier.tree.CommandNode<S> node)
public static <T> Set<com.mojang.brigadier.arguments.ArgumentType<?>>
findUsedArgumentTypes(com.mojang.brigadier.tree.CommandNode<T> node)
method_41991(com.mojang.brigadier.tree.CommandNode<T> arg0)
collectUsedArgumentTypes(com.mojang.brigadier.tree.CommandNode<T> rootNode)
private static <T> void
findUsedArgumentTypes(com.mojang.brigadier.tree.CommandNode<T> node, Set<com.mojang.brigadier.arguments.ArgumentType<?>> output, Set<com.mojang.brigadier.tree.CommandNode<T>> visitedNodes)
method_41992(com.mojang.brigadier.tree.CommandNode<T> arg0, Set<com.mojang.brigadier.arguments.ArgumentType<?>> arg1, Set<com.mojang.brigadier.tree.CommandNode<T>> arg2)
collectUsedArgumentTypes(com.mojang.brigadier.tree.CommandNode<T> node, Set<com.mojang.brigadier.arguments.ArgumentType<?>> usedArgumentTypes, Set<com.mojang.brigadier.tree.CommandNode<T>> visitedNodes)
private static void
lambda$findUsedArgumentTypes$1(Set arg0, Set arg1, com.mojang.brigadier.tree.CommandNode arg2)
method_41993(Set arg0, Set arg1, com.mojang.brigadier.tree.CommandNode arg2)
method_41993(Set arg0, Set arg1, com.mojang.brigadier.tree.CommandNode child)
private static IllegalStateException
lambda$serializeNodeToJson$0(String arg0)
method_75492(String arg0)
method_75492(String error)