net.minecraft.commands.synchronization

public class ArgumentUtils

gh
net.minecraft.commands.synchronization.ArgumentUtils
net.minecraft.class_7218
net.minecraft.command.argument.ArgumentHelper
net.minecraft.src.C_213454_
net.minecraft.commands.synchronization.ArgumentUtils

Field summary

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

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)
m_235427_(boolean p_235428_, boolean p_235429_)
public static boolean
a(byte arg0)
numberHasMin(byte arg0)
method_41986(byte arg0)
hasMinFlag(byte flags)
m_235402_(byte p_235403_)
public static boolean
b(byte arg0)
numberHasMax(byte arg0)
method_41995(byte arg0)
hasMaxFlag(byte flags)
m_235430_(byte p_235431_)
private static <A extends com.mojang.brigadier.arguments.ArgumentType<?>> void
a(com.google.gson.JsonObject arg0, gf$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)
m_235407_(com.google.gson.JsonObject p_235408_, C_213452_<A> p_235409_)
private static <A extends com.mojang.brigadier.arguments.ArgumentType<?>, T extends ArgumentTypeInfo$Template<A>> void
a(com.google.gson.JsonObject arg0, gf<A, T> arg1, gf$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)
m_235410_(com.google.gson.JsonObject p_235411_, C_213451_<A, T> p_235412_, C_213452_<A> p_235413_)
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)
m_235404_(com.google.gson.JsonObject p_235405_, T p_235406_)
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)
m_235414_(com.mojang.brigadier.CommandDispatcher<S> p_235415_, com.mojang.brigadier.tree.CommandNode<S> p_235416_)
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)
m_235417_(com.mojang.brigadier.tree.CommandNode<T> p_235418_)
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)
m_235419_(com.mojang.brigadier.tree.CommandNode<T> p_235420_, Set<com.mojang.brigadier.arguments.ArgumentType<?>> p_235421_, Set<com.mojang.brigadier.tree.CommandNode<T>> p_235422_)