Uses of Interface
net.minecraft.network.FriendlyByteBuf.Writer
Package
Description
-
Uses of FriendlyByteBuf.Writer in net.minecraft.network
Modifier and TypeMethodDescriptiondefault FriendlyByteBuf.Writer<Optional<T>>
FriendlyByteBuf.Writer.asOptional()
Modifier and TypeMethodDescription<T> void
FriendlyByteBuf.writeCollection
(Collection<T> p_236829_, FriendlyByteBuf.Writer<T> p_236830_) <L,
R> void FriendlyByteBuf.writeEither
(com.mojang.datafixers.util.Either<L, R> p_236811_, FriendlyByteBuf.Writer<L> p_236812_, FriendlyByteBuf.Writer<R> p_236813_) <T> void
FriendlyByteBuf.writeId
(IdMap<Holder<T>> p_263337_, Holder<T> p_263384_, FriendlyByteBuf.Writer<T> p_263358_) <K,
V> void FriendlyByteBuf.writeMap
(Map<K, V> p_236832_, FriendlyByteBuf.Writer<K> p_236833_, FriendlyByteBuf.Writer<V> p_236834_) <T> void
FriendlyByteBuf.writeNullable
(T p_236822_, FriendlyByteBuf.Writer<T> p_236823_) <T> void
FriendlyByteBuf.writeOptional
(Optional<T> p_236836_, FriendlyByteBuf.Writer<T> p_236837_) -
Uses of FriendlyByteBuf.Writer in net.minecraft.network.syncher
Modifier and TypeMethodDescriptionstatic <T> EntityDataSerializer<Optional<T>>
EntityDataSerializer.optional
(FriendlyByteBuf.Writer<T> p_238099_, FriendlyByteBuf.Reader<T> p_238100_) static <T> EntityDataSerializer<T>
EntityDataSerializer.simple
(FriendlyByteBuf.Writer<T> p_238096_, FriendlyByteBuf.Reader<T> p_238097_) -
Uses of FriendlyByteBuf.Writer in net.neoforged.neoforge.common.extensions
Modifier and TypeMethodDescriptiondefault <T> FriendlyByteBuf
IFriendlyByteBufExtension.writeArray
(T[] array, FriendlyByteBuf.Writer<T> writer) Writes an array of objects to the buffer.default <K,
V> void IFriendlyByteBufExtension.writeMap
(Map<K, V> map, FriendlyByteBuf.Writer<K> keyWriter, org.apache.commons.lang3.function.TriConsumer<FriendlyByteBuf, K, V> valueWriter) Variant ofFriendlyByteBuf.writeMap(Map, FriendlyByteBuf.Writer, FriendlyByteBuf.Writer)
that allows writing values that depend on the key.