Uses of Interface
net.minecraft.network.PacketByteBuf.PacketWriter
Packages that use PacketByteBuf.PacketWriter
-
Uses of PacketByteBuf.PacketWriter in net.minecraft.entity.data
Methods in net.minecraft.entity.data with parameters of type PacketByteBuf.PacketWriterModifier and TypeMethodDescriptionstatic <T> TrackedDataHandler<T>
TrackedDataHandler.of
(PacketByteBuf.PacketWriter<T> writer, PacketByteBuf.PacketReader<T> reader) static <T> TrackedDataHandler<Optional<T>>
TrackedDataHandler.ofOptional
(PacketByteBuf.PacketWriter<T> writer, PacketByteBuf.PacketReader<T> reader) -
Uses of PacketByteBuf.PacketWriter in net.minecraft.network
Methods in net.minecraft.network that return PacketByteBuf.PacketWriterModifier and TypeMethodDescriptiondefault PacketByteBuf.PacketWriter<Optional<T>>
PacketByteBuf.PacketWriter.asOptional()
Methods in net.minecraft.network with parameters of type PacketByteBuf.PacketWriterModifier and TypeMethodDescription<T> void
PacketByteBuf.writeCollection
(Collection<T> collection, PacketByteBuf.PacketWriter<T> writer) Writes a collection to this buf.<L,
R> void PacketByteBuf.writeEither
(com.mojang.datafixers.util.Either<L, R> either, PacketByteBuf.PacketWriter<L> leftWriter, PacketByteBuf.PacketWriter<R> rightWriter) Writes anEither
to this buf.<K,
V> void PacketByteBuf.writeMap
(Map<K, V> map, PacketByteBuf.PacketWriter<K> keyWriter, PacketByteBuf.PacketWriter<V> valueWriter) Writes a map to this buf.<T> void
PacketByteBuf.writeNullable
(T value, PacketByteBuf.PacketWriter<T> writer) Writes a nullable value to this buf.<T> void
PacketByteBuf.writeOptional
(Optional<T> value, PacketByteBuf.PacketWriter<T> writer) Writes an optional value to this buf.