net.minecraft.commands.synchronization

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

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

iv
net.minecraft.commands.synchronization.SingletonArgumentInfo
net.minecraft.class_2319
net.minecraft.command.argument.serialize.ConstantArgumentSerializer
net.minecraft.commands.synchronization.SingletonArgumentInfo

Field summary

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

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)
public static <T extends com.mojang.brigadier.arguments.ArgumentType<?>> SingletonArgumentInfo<T>
a(Function<es, T> arg0)
contextAware(Function<CommandBuildContext, T> arg0)
method_41998(Function<class_7157, T> arg0)
of(Function<CommandRegistryAccess, T> typeSupplier)
public void
a(iv<A>.a arg0, ws 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)
public void
a(iv<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)
public SingletonArgumentInfo<A>.Template
a(ws arg0)
deserializeFromNetwork(FriendlyByteBuf arg0)
method_42001(class_2540 arg0)
fromPacket(PacketByteBuf arg0)
public SingletonArgumentInfo<A>.Template
b(A arg0)
unpack(A arg0)
method_42002(A arg0)
getArgumentTypeProperties(A arg0)