net.minecraft.commands.synchronization

public class ArgumentTypes

fu
net.minecraft.commands.synchronization.ArgumentTypes
net.minecraft.class_2316
net.minecraft.command.argument.ArgumentTypes
net.minecraft.src.C_4657_
net.minecraft.commands.synchronization.ArgumentRegistry

Field summary

Modifier and TypeField
private static final org.apache.logging.log4j.Logger
a
LOGGER
field_10923
LOGGER
f_121582_
private static final Map<Class<?>, ArgumentTypes$Entry<?>>
b
BY_CLASS
field_10921
CLASS_MAP
f_121583_
private static final Map<ResourceLocation, ArgumentTypes$Entry<?>>
c
BY_NAME
field_10922
ID_MAP
f_121584_

Constructor summary

ModifierConstructor
public ()

Method summary

Modifier and TypeMethod
public static <T extends com.mojang.brigadier.arguments.ArgumentType<?>> void
a(String arg0, Class<T> arg1, ft<T> arg2)
register(String arg0, Class<T> arg1, ArgumentSerializer<T> arg2)
method_10017(String arg0, Class<T> arg1, class_2314<T> arg2)
register(String id, Class<T> argClass, ArgumentSerializer<T> serializer)
m_121601_(String p_121602_, Class<T> p_121603_, C_4656_<T> p_121604_)
public static void
a()
bootStrap()
method_10015()
register()
m_121586_()
private static ArgumentTypes$Entry<?>
a(yh arg0)
get(ResourceLocation arg0)
method_10018(class_2960 arg0)
byId(Identifier id)
m_121614_(C_5265_ p_121615_)
private static ArgumentTypes$Entry<?>
b(com.mojang.brigadier.arguments.ArgumentType<?> arg0)
get(com.mojang.brigadier.arguments.ArgumentType<?> arg0)
method_10013(com.mojang.brigadier.arguments.ArgumentType<?> arg0)
byClass(com.mojang.brigadier.arguments.ArgumentType<?> type)
m_121616_(com.mojang.brigadier.arguments.ArgumentType<?> p_121617_)
public static <T extends com.mojang.brigadier.arguments.ArgumentType<?>> void
a(pn arg0, T arg1)
serialize(FriendlyByteBuf arg0, T arg1)
method_10019(class_2540 arg0, T arg1)
toPacket(PacketByteBuf buf, T type)
m_121611_(C_4983_ p_121612_, T p_121613_)
public static com.mojang.brigadier.arguments.ArgumentType<?>
a(pn arg0)
deserialize(FriendlyByteBuf arg0)
method_10014(class_2540 arg0)
fromPacket(PacketByteBuf buf)
m_121609_(C_4983_ p_121610_)
private static <T extends com.mojang.brigadier.arguments.ArgumentType<?>> void
a(com.google.gson.JsonObject arg0, T arg1)
serializeToJson(com.google.gson.JsonObject arg0, T arg1)
method_10020(com.google.gson.JsonObject arg0, T arg1)
toJson(com.google.gson.JsonObject json, T type)
m_121587_(com.google.gson.JsonObject p_121588_, T p_121589_)
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_10016(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> commandNode)
m_121590_(com.mojang.brigadier.CommandDispatcher<S> p_121591_, com.mojang.brigadier.tree.CommandNode<S> p_121592_)
public static boolean
a(com.mojang.brigadier.arguments.ArgumentType<?> arg0)
isTypeRegistered(com.mojang.brigadier.arguments.ArgumentType<?> arg0)
method_30923(com.mojang.brigadier.arguments.ArgumentType<?> arg0)
hasClass(com.mojang.brigadier.arguments.ArgumentType<?> type)
m_121593_(com.mojang.brigadier.arguments.ArgumentType<?> p_121594_)
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_30924(com.mojang.brigadier.tree.CommandNode<T> arg0)
getAllArgumentTypes(com.mojang.brigadier.tree.CommandNode<T> node)
m_121595_(com.mojang.brigadier.tree.CommandNode<T> p_121596_)
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_30925(com.mojang.brigadier.tree.CommandNode<T> arg0, Set<com.mojang.brigadier.arguments.ArgumentType<?>> arg1, Set<com.mojang.brigadier.tree.CommandNode<T>> arg2)
getAllArgumentTypes(com.mojang.brigadier.tree.CommandNode<T> node, Set<com.mojang.brigadier.arguments.ArgumentType<?>> argumentTypes, Set<com.mojang.brigadier.tree.CommandNode<T>> ignoredNodes)
m_121597_(com.mojang.brigadier.tree.CommandNode<T> p_121598_, Set<com.mojang.brigadier.arguments.ArgumentType<?>> p_121599_, Set<com.mojang.brigadier.tree.CommandNode<T>> p_121600_)