Uses of Interface
net.minecraft.network.PacketByteBuf.PacketReader
Package
Description
-
Uses of PacketByteBuf.PacketReader in net.minecraft.entity.data
Modifier 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
Modifier and TypeMethodDescriptiondefault PacketByteBuf.PacketReader<Optional<T>>
PacketByteBuf.PacketReader.asOptional()
Modifier 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.<T> RegistryEntry<T>
PacketByteBuf.readRegistryEntry
(IndexedIterable<RegistryEntry<T>> registryEntries, PacketByteBuf.PacketReader<T> reader) -
Uses of PacketByteBuf.PacketReader in net.minecraft.network.packet.c2s.common
Modifier and TypeFieldDescriptionprivate static final Map<Identifier,
PacketByteBuf.PacketReader<? extends CustomPayload>> CustomPayloadC2SPacket.ID_TO_READER
-
Uses of PacketByteBuf.PacketReader in net.minecraft.network.packet.s2c.common
Modifier and TypeFieldDescriptionprivate static final Map<Identifier,
PacketByteBuf.PacketReader<? extends CustomPayload>> CustomPayloadS2CPacket.ID_TO_READER