net.minecraft.commands.synchronization

public class SingletonArgumentInfo<A extends com.mojang.brigadier.arguments.ArgumentType<?>>

implements ArgumentTypeInfo<A, SingletonArgumentInfo<A>.Template>

gi
net.minecraft.commands.synchronization.SingletonArgumentInfo
net.minecraft.class_2319
net.minecraft.command.argument.serialize.ConstantArgumentSerializer
net.minecraft.src.C_213455_
net.minecraft.commands.synchronization.SingletonArgumentInfo

Field summary

Modifier and TypeField
private final SingletonArgumentInfo<A>.Template
a
template
field_37978
properties
f_235432_

Constructor summary

ModifierConstructor
private (Function<CommandBuildContext, A> typeSupplier)

Method summary

Modifier and TypeMethod
public static <T extends com.mojang.brigadier.arguments.ArgumentType<?>> SingletonArgumentInfo<T>
a(Supplier<T> arg0)
contextFree(Supplier<T> arg0)
method_41999(Supplier<T> arg0)
of(Supplier<T> typeSupplier)
m_235451_(Supplier<T> p_235452_)
public static <T extends com.mojang.brigadier.arguments.ArgumentType<?>> SingletonArgumentInfo<T>
a(Function<dl, T> arg0)
contextAware(Function<CommandBuildContext, T> arg0)
method_41998(Function<class_7157, T> arg0)
of(Function<CommandRegistryAccess, T> typeSupplier)
m_235449_(Function<C_213173_, T> p_235450_)
public void
a(gi<A>.a arg0, qx arg1)
serializeToNetwork(SingletonArgumentInfo<A>.Template arg0, FriendlyByteBuf arg1)
method_41997(class_2319<A>.class_7219 arg0, class_2540 arg1)
writePacket(ConstantArgumentSerializer<A>.Properties arg0, PacketByteBuf arg1)
m_214155_(C_213455_<A>.net/minecraft/src/C_213456_ p_235448_, C_4983_ arg1)
public void
a(gi<A>.a arg0, com.google.gson.JsonObject arg1)
serializeToJson(SingletonArgumentInfo<A>.Template arg0, com.google.gson.JsonObject arg1)
method_41996(class_2319<A>.class_7219 arg0, com.google.gson.JsonObject arg1)
writeJson(ConstantArgumentSerializer<A>.Properties arg0, com.google.gson.JsonObject arg1)
m_213719_(C_213455_<A>.net/minecraft/src/C_213456_ p_235445_, com.google.gson.JsonObject arg1)
public SingletonArgumentInfo<A>.Template
a(qx arg0)
deserializeFromNetwork(FriendlyByteBuf arg0)
method_42001(class_2540 arg0)
fromPacket(PacketByteBuf arg0)
m_213618_(C_4983_ arg0)
public SingletonArgumentInfo<A>.Template
b(A arg0)
unpack(A arg0)
method_42002(A arg0)
getArgumentTypeProperties(A arg0)
m_214163_(A arg0)