Uses of Interface
net.minecraft.network.PacketByteBuf.PacketReader
Packages that use PacketByteBuf.PacketReader
-
Uses of PacketByteBuf.PacketReader in net.minecraft.entity.data
Methods in net.minecraft.entity.data with parameters of type PacketByteBuf.PacketReaderModifier 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.PacketReader in net.minecraft.network
Methods in net.minecraft.network that return PacketByteBuf.PacketReaderModifier and TypeMethodDescriptiondefault PacketByteBuf.PacketReader<Optional<T>>
PacketByteBuf.PacketReader.asOptional()
Methods in net.minecraft.network with parameters of type PacketByteBuf.PacketReaderModifier and TypeMethodDescription<T,
C extends Collection<T>>
CPacketByteBuf.readCollection
(IntFunction<C> collectionFactory, PacketByteBuf.PacketReader<T> reader) Reads a collection from this buf.<L,
R> com.mojang.datafixers.util.Either<L, R> PacketByteBuf.readEither
(PacketByteBuf.PacketReader<L> leftReader, PacketByteBuf.PacketReader<R> rightReader) Reads anEither
from this buf.<T> List<T>
PacketByteBuf.readList
(PacketByteBuf.PacketReader<T> reader) Reads a collection from this buf as an array list.<K,
V, M extends Map<K, V>>
MPacketByteBuf.readMap
(IntFunction<M> mapFactory, PacketByteBuf.PacketReader<K> keyReader, PacketByteBuf.PacketReader<V> valueReader) Reads a map from this buf.<K,
V> Map<K, V> PacketByteBuf.readMap
(PacketByteBuf.PacketReader<K> keyReader, PacketByteBuf.PacketReader<V> valueReader) Reads a map from this buf as a hash map.<T> T
PacketByteBuf.readNullable
(PacketByteBuf.PacketReader<T> reader) Reads a nullable value from this buf.<T> Optional<T>
PacketByteBuf.readOptional
(PacketByteBuf.PacketReader<T> reader) Reads an optional value from this buf.