net.minecraft.commands.synchronization

public class ArgumentUtils

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

Field summary

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

Constructor summary

ModifierConstructor
public ()

Method summary

Modifier and TypeMethod
public static int
a(boolean arg0, boolean arg1)
createNumberFlags(boolean arg0, boolean arg1)
method_41994(boolean arg0, boolean arg1)
getMinMaxFlag(boolean hasMin, boolean hasMax)
public static boolean
a(byte arg0)
numberHasMin(byte arg0)
method_41986(byte arg0)
hasMinFlag(byte flags)
public static boolean
b(byte arg0)
numberHasMax(byte arg0)
method_41995(byte arg0)
hasMaxFlag(byte flags)
private static <A extends com.mojang.brigadier.arguments.ArgumentType<?>> void
a(com.google.gson.JsonObject arg0, is$a<A> arg1)
serializeCap(com.google.gson.JsonObject arg0, ArgumentTypeInfo$Template<A> arg1)
method_41988(com.google.gson.JsonObject arg0, class_2314$class_7217<A> arg1)
writeArgumentProperties(com.google.gson.JsonObject json, ArgumentSerializer$ArgumentTypeProperties<A> properties)
private static <A extends com.mojang.brigadier.arguments.ArgumentType<?>, T extends ArgumentTypeInfo$Template<A>> void
a(com.google.gson.JsonObject arg0, is<A, T> arg1, is$a<A> arg2)
serializeCap(com.google.gson.JsonObject arg0, ArgumentTypeInfo<A, T> arg1, ArgumentTypeInfo$Template<A> arg2)
method_41989(com.google.gson.JsonObject arg0, class_2314<A, T> arg1, class_2314$class_7217<A> arg2)
writeArgumentProperties(com.google.gson.JsonObject json, ArgumentSerializer<A, T> serializer, ArgumentSerializer$ArgumentTypeProperties<A> properties)
private static <T extends com.mojang.brigadier.arguments.ArgumentType<?>> void
a(com.google.gson.JsonObject arg0, T arg1)
serializeArgumentToJson(com.google.gson.JsonObject arg0, T arg1)
method_41987(com.google.gson.JsonObject arg0, T arg1)
writeArgument(com.google.gson.JsonObject json, T argumentType)
public static <S> com.google.gson.JsonObject
a(com.mojang.brigadier.CommandDispatcher<S> arg0, com.mojang.brigadier.tree.CommandNode<S> arg1)
serializeNodeToJson(com.mojang.brigadier.CommandDispatcher<S> arg0, com.mojang.brigadier.tree.CommandNode<S> arg1)
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> rootNode)
public static <T> Set<com.mojang.brigadier.arguments.ArgumentType<?>>
a(com.mojang.brigadier.tree.CommandNode<T> arg0)
findUsedArgumentTypes(com.mojang.brigadier.tree.CommandNode<T> arg0)
method_41991(com.mojang.brigadier.tree.CommandNode<T> arg0)
collectUsedArgumentTypes(com.mojang.brigadier.tree.CommandNode<T> rootNode)
private static <T> void
a(com.mojang.brigadier.tree.CommandNode<T> arg0, Set<com.mojang.brigadier.arguments.ArgumentType<?>> arg1, Set<com.mojang.brigadier.tree.CommandNode<T>> arg2)
findUsedArgumentTypes(com.mojang.brigadier.tree.CommandNode<T> arg0, Set<com.mojang.brigadier.arguments.ArgumentType<?>> arg1, Set<com.mojang.brigadier.tree.CommandNode<T>> arg2)
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)