Uses of Class
net.minecraft.network.PacketByteBuf
Package
Description
-
Uses of PacketByteBuf in net.minecraft.advancement
Modifier and TypeMethodDescriptionstatic AdvancementDisplay
AdvancementDisplay.fromPacket
(PacketByteBuf buf) static AdvancementProgress
AdvancementProgress.fromPacket
(PacketByteBuf buf) static Advancement
Advancement.read
(PacketByteBuf buf) static AdvancementEntry
AdvancementEntry.read
(PacketByteBuf buf) void
AdvancementDisplay.toPacket
(PacketByteBuf buf) void
AdvancementProgress.toPacket
(PacketByteBuf buf) void
Advancement.write
(PacketByteBuf buf) void
AdvancementEntry.write
(PacketByteBuf buf) void
AdvancementRequirements.writeRequirements
(PacketByteBuf buf) -
Uses of PacketByteBuf in net.minecraft.advancement.criterion
Modifier and TypeMethodDescriptionstatic CriterionProgress
CriterionProgress.fromPacket
(PacketByteBuf buf) void
CriterionProgress.toPacket
(PacketByteBuf buf) -
Uses of PacketByteBuf in net.minecraft.client.world
Modifier and TypeMethodDescriptionClientChunkManager.loadChunkFromPacket
(int x, int z, PacketByteBuf buf, NbtCompound nbt, Consumer<ChunkData.BlockEntityVisitor> consumer) void
ClientChunkManager.onChunkBiomeData
(int x, int z, PacketByteBuf buf) -
Uses of PacketByteBuf in net.minecraft.command.argument
Modifier and TypeMethodDescriptionEntityArgumentType.Serializer.fromPacket
(PacketByteBuf packetByteBuf) RegistryEntryArgumentType.Serializer.fromPacket
(PacketByteBuf packetByteBuf) RegistryEntryPredicateArgumentType.Serializer.fromPacket
(PacketByteBuf packetByteBuf) RegistryKeyArgumentType.Serializer.fromPacket
(PacketByteBuf packetByteBuf) RegistryPredicateArgumentType.Serializer.fromPacket
(PacketByteBuf packetByteBuf) ScoreHolderArgumentType.Serializer.fromPacket
(PacketByteBuf packetByteBuf) TimeArgumentType.Serializer.fromPacket
(PacketByteBuf packetByteBuf) void
EntityArgumentType.Serializer.writePacket
(EntityArgumentType.Serializer.Properties properties, PacketByteBuf packetByteBuf) void
RegistryEntryArgumentType.Serializer.writePacket
(RegistryEntryArgumentType.Serializer<T>.Properties serializer, PacketByteBuf packetByteBuf) void
RegistryEntryPredicateArgumentType.Serializer.writePacket
(RegistryEntryPredicateArgumentType.Serializer<T>.Properties serializer, PacketByteBuf packetByteBuf) void
RegistryKeyArgumentType.Serializer.writePacket
(RegistryKeyArgumentType.Serializer<T>.Properties serializer, PacketByteBuf packetByteBuf) void
RegistryPredicateArgumentType.Serializer.writePacket
(RegistryPredicateArgumentType.Serializer<T>.Properties serializer, PacketByteBuf packetByteBuf) void
ScoreHolderArgumentType.Serializer.writePacket
(ScoreHolderArgumentType.Serializer.Properties properties, PacketByteBuf packetByteBuf) void
TimeArgumentType.Serializer.writePacket
(TimeArgumentType.Serializer.Properties properties, PacketByteBuf packetByteBuf) -
Uses of PacketByteBuf in net.minecraft.command.argument.serialize
Modifier and TypeMethodDescriptionArgumentSerializer.fromPacket
(PacketByteBuf buf) ConstantArgumentSerializer.fromPacket
(PacketByteBuf packetByteBuf) DoubleArgumentSerializer.fromPacket
(PacketByteBuf packetByteBuf) FloatArgumentSerializer.fromPacket
(PacketByteBuf packetByteBuf) IntegerArgumentSerializer.fromPacket
(PacketByteBuf packetByteBuf) LongArgumentSerializer.fromPacket
(PacketByteBuf packetByteBuf) StringArgumentSerializer.fromPacket
(PacketByteBuf packetByteBuf) void
ArgumentSerializer.writePacket
(T properties, PacketByteBuf buf) void
ConstantArgumentSerializer.writePacket
(ConstantArgumentSerializer<A>.Properties constantArgumentSerializer, PacketByteBuf packetByteBuf) void
DoubleArgumentSerializer.writePacket
(DoubleArgumentSerializer.Properties properties, PacketByteBuf packetByteBuf) void
FloatArgumentSerializer.writePacket
(FloatArgumentSerializer.Properties properties, PacketByteBuf packetByteBuf) void
IntegerArgumentSerializer.writePacket
(IntegerArgumentSerializer.Properties properties, PacketByteBuf packetByteBuf) void
LongArgumentSerializer.writePacket
(LongArgumentSerializer.Properties properties, PacketByteBuf packetByteBuf) void
StringArgumentSerializer.writePacket
(StringArgumentSerializer.Properties properties, PacketByteBuf packetByteBuf) -
Uses of PacketByteBuf in net.minecraft.entity.ai.pathing
Modifier and TypeMethodDescriptionstatic Path.DebugNodeInfo
Path.DebugNodeInfo.fromBuf
(PacketByteBuf buf) static Path
Path.fromBuf
(PacketByteBuf buf) static PathNode
PathNode.fromBuf
(PacketByteBuf buf) static TargetPathNode
TargetPathNode.fromBuffer
(PacketByteBuf buffer) (package private) static PathNode[]
Path.nodesFromBuf
(PacketByteBuf buf) protected static void
PathNode.readFromBuf
(PacketByteBuf buf, PathNode target) void
Path.toBuf
(PacketByteBuf buf) void
Path.DebugNodeInfo.write
(PacketByteBuf buf) (package private) static void
Path.write
(PacketByteBuf buf, PathNode[] nodes) void
PathNode.write
(PacketByteBuf buf) -
Uses of PacketByteBuf in net.minecraft.entity.data
Modifier and TypeMethodDescriptionstatic DataTracker.SerializedEntry<?>
DataTracker.SerializedEntry.fromBuf
(PacketByteBuf buf, int id) private static <T> DataTracker.SerializedEntry<T>
DataTracker.SerializedEntry.fromBuf
(PacketByteBuf buf, int id, TrackedDataHandler<T> handler) TrackedDataHandler.read
(PacketByteBuf buf) void
DataTracker.SerializedEntry.write
(PacketByteBuf buf) void
TrackedDataHandler.write
(PacketByteBuf buf, T value) -
Uses of PacketByteBuf in net.minecraft.network
Modifier and TypeFieldDescriptionprivate final List<Function<PacketByteBuf,
? extends Packet<? super T>>> NetworkState.InternalPacketHandler.packetFactories
Modifier and TypeMethodDescriptionPacketByteBuf.capacity
(int int2) PacketByteBuf.clear()
PacketByteBuf.discardReadBytes()
PacketByteBuf.discardSomeReadBytes()
<T> PacketByteBuf
PacketByteBuf.encode
(com.mojang.serialization.DynamicOps<NbtElement> ops, com.mojang.serialization.Codec<T> codec, T value) Deprecated.<T> PacketByteBuf
PacketByteBuf.encode
(ToIntFunction<T> valueToId, T value) Convertsvalue
to an integer representing its ID, then writes a var int representation of such ID.PacketByteBuf.ensureWritable
(int int2) PacketByteBuf.getBytes
(int int2, byte[] byte2) PacketByteBuf.getBytes
(int int2, byte[] byte2, int int3, int int4) PacketByteBuf.getBytes
(int int2, OutputStream outputStream, int int3) PacketByteBuf.getBytes
(int int2, ByteBuffer byteBuffer) PacketByteBuf.markReaderIndex()
PacketByteBuf.markWriterIndex()
PacketByteBuf.readBytes
(byte[] byte2) PacketByteBuf.readBytes
(byte[] byte2, int int2, int int3) PacketByteBuf.readBytes
(OutputStream outputStream, int int2) PacketByteBuf.readBytes
(ByteBuffer byteBuffer) PacketByteBuf.readerIndex
(int int2) PacketByteBuf.resetReaderIndex()
PacketByteBuf.resetWriterIndex()
PacketByteBuf.retain()
PacketByteBuf.retain
(int int2) PacketByteBuf.setBoolean
(int int2, boolean bool) PacketByteBuf.setByte
(int int2, int int3) PacketByteBuf.setBytes
(int int2, byte[] byte2) PacketByteBuf.setBytes
(int int2, byte[] byte2, int int3, int int4) PacketByteBuf.setBytes
(int int2, ByteBuffer byteBuffer) PacketByteBuf.setChar
(int int2, int int3) PacketByteBuf.setDouble
(int int2, double double2) PacketByteBuf.setFloat
(int int2, float float2) PacketByteBuf.setIndex
(int int2, int int3) PacketByteBuf.setInt
(int int2, int int3) PacketByteBuf.setIntLE
(int int2, int int3) PacketByteBuf.setLong
(int int2, long long2) PacketByteBuf.setLongLE
(int int2, long long2) PacketByteBuf.setMedium
(int int2, int int3) PacketByteBuf.setMediumLE
(int int2, int int3) PacketByteBuf.setShort
(int int2, int int3) PacketByteBuf.setShortLE
(int int2, int int3) PacketByteBuf.setZero
(int int2, int int3) PacketByteBuf.skipBytes
(int int2) PacketByteBuf.touch()
PacketByteBuf.writeBlockPos
(BlockPos pos) Writes a block position to this buf.PacketByteBuf.writeBoolean
(boolean bool) PacketByteBuf.writeByte
(int int2) PacketByteBuf.writeByteArray
(byte[] array) Writes an array of primitive bytes to this buf.PacketByteBuf.writeBytes
(byte[] byte2) PacketByteBuf.writeBytes
(byte[] byte2, int int2, int int3) PacketByteBuf.writeBytes
(ByteBuf byteBuf) PacketByteBuf.writeBytes
(ByteBuf byteBuf, int int2) PacketByteBuf.writeBytes
(ByteBuf byteBuf, int int2, int int3) PacketByteBuf.writeBytes
(ByteBuffer byteBuffer) PacketByteBuf.writeChar
(int int2) PacketByteBuf.writeChunkPos
(ChunkPos pos) Writes a chunk position to this buf.PacketByteBuf.writeChunkSectionPos
(ChunkSectionPos pos) Reads a chunk section position from this buf.Writes a date to this buf.PacketByteBuf.writeDouble
(double double2) PacketByteBuf.writeEnumConstant
(Enum<?> instance) Writes an enum constant to this buf.PacketByteBuf.writeFloat
(float float2) PacketByteBuf.writeIdentifier
(Identifier id) Writes an identifier to this buf.PacketByteBuf.writeInt
(int int2) PacketByteBuf.writeIntArray
(int[] array) Writes an array of primitive ints to this buf.PacketByteBuf.writeIntLE
(int int2) PacketByteBuf.writeItemStack
(ItemStack stack) Writes an item stack to this buf.PacketByteBuf.writeLong
(long long2) PacketByteBuf.writeLongArray
(long[] array) Writes an array of primitive longs to this buf.PacketByteBuf.writeLongLE
(long long2) PacketByteBuf.writeMedium
(int int2) PacketByteBuf.writeMediumLE
(int int2) PacketByteBuf.writeNbt
(@Nullable NbtElement nbt) Writes an NBT element to this buf.PacketByteBuf.writePublicKey
(PublicKey publicKey) Writes a public key to this buf.PacketByteBuf.writerIndex
(int int2) PacketByteBuf.writeShort
(int int2) PacketByteBuf.writeShortLE
(int int2) PacketByteBuf.writeString
(String string) Writes a string to this buf.PacketByteBuf.writeString
(String string, int maxLength) Writes a string to this buf.Writes a text to this buf.Writes a UUID (universally unique identifier) to this buf.PacketByteBuf.writeVarInt
(int value) Writes a single var int to this buf.PacketByteBuf.writeVarLong
(long value) Writes a single var long to this buf.PacketByteBuf.writeZero
(int int2) Modifier and TypeMethodDescriptionNetworkState.InternalPacketHandler.createPacket
(int id, PacketByteBuf buf) NetworkState.PacketHandler.createPacket
(int id, PacketByteBuf buf) Modifier and TypeMethodDescriptionvoid
PacketByteBuf.forEachInCollection
(Consumer<PacketByteBuf> consumer) Iterates a collection from this buf.<P extends Packet<? super T>>
NetworkState.InternalPacketHandler<T>NetworkState.InternalPacketHandler.register
(Class<P> type, Function<PacketByteBuf, P> packetFactory) -
Uses of PacketByteBuf in net.minecraft.network.encryption
Modifier and TypeMethodDescriptionPublicPlayerSession.Serialized.fromBuf
(PacketByteBuf buf) static void
NetworkEncryptionUtils.SignatureData.write
(PacketByteBuf buf, NetworkEncryptionUtils.SignatureData signatureData) void
PlayerPublicKey.PublicKeyData.write
(PacketByteBuf buf) static void
PublicPlayerSession.Serialized.write
(PacketByteBuf buf, PublicPlayerSession.Serialized serialized) -
Uses of PacketByteBuf in net.minecraft.network.message
Modifier and TypeMethodDescriptionstatic MessageSignatureData
MessageSignatureData.fromBuf
(PacketByteBuf buf) static MessageSignatureData.Indexed
MessageSignatureData.Indexed.fromBuf
(PacketByteBuf buf) static FilterMask
FilterMask.readMask
(PacketByteBuf buf) void
ArgumentSignatureDataMap.Entry.write
(PacketByteBuf buf) void
ArgumentSignatureDataMap.write
(PacketByteBuf buf) void
LastSeenMessageList.Acknowledgment.write
(PacketByteBuf buf) void
LastSeenMessageList.Indexed.write
(PacketByteBuf buf) void
MessageBody.Serialized.write
(PacketByteBuf buf) static void
MessageSignatureData.Indexed.write
(PacketByteBuf buf, MessageSignatureData.Indexed indexed) static void
MessageSignatureData.write
(PacketByteBuf buf, MessageSignatureData signature) void
MessageType.Serialized.write
(PacketByteBuf buf) static void
FilterMask.writeMask
(PacketByteBuf buf, FilterMask mask) ModifierConstructorDescriptionEntry
(PacketByteBuf buf) Indexed
(PacketByteBuf buf) Serialized
(PacketByteBuf buf) Serialized
(PacketByteBuf buf) -
Uses of PacketByteBuf in net.minecraft.network.packet
Modifier and TypeMethodDescriptionvoid
BrandCustomPayload.write
(PacketByteBuf buf) final void
BundlePacket.write
(PacketByteBuf buf) final void
BundleSplitterPacket.write
(PacketByteBuf buf) void
CustomPayload.write
(PacketByteBuf buf) void
Packet.write
(PacketByteBuf buf) void
UnknownCustomPayload.write
(PacketByteBuf buf) -
Uses of PacketByteBuf in net.minecraft.network.packet.c2s.common
Modifier and TypeMethodDescriptionprivate static CustomPayload
CustomPayloadC2SPacket.readPayload
(Identifier id, PacketByteBuf buf) private static UnknownCustomPayload
CustomPayloadC2SPacket.readUnknownPayload
(Identifier id, PacketByteBuf buf) void
ClientOptionsC2SPacket.write
(PacketByteBuf buf) void
CommonPongC2SPacket.write
(PacketByteBuf buf) void
CustomPayloadC2SPacket.write
(PacketByteBuf buf) void
KeepAliveC2SPacket.write
(PacketByteBuf buf) void
ResourcePackStatusC2SPacket.write
(PacketByteBuf buf) void
SyncedClientOptions.write
(PacketByteBuf buf) ModifierConstructorDescription -
Uses of PacketByteBuf in net.minecraft.network.packet.c2s.config
-
Uses of PacketByteBuf in net.minecraft.network.packet.c2s.handshake
-
Uses of PacketByteBuf in net.minecraft.network.packet.c2s.login
Modifier and TypeMethodDescriptionprivate static LoginQueryResponsePayload
LoginQueryResponseC2SPacket.getVanillaPayload
(PacketByteBuf buf) static LoginQueryResponseC2SPacket
LoginQueryResponseC2SPacket.read
(PacketByteBuf buf) private static LoginQueryResponsePayload
LoginQueryResponseC2SPacket.readPayload
(int queryId, PacketByteBuf buf) Returns the response payload read frombuf
.void
EnterConfigurationC2SPacket.write
(PacketByteBuf buf) void
LoginHelloC2SPacket.write
(PacketByteBuf buf) void
LoginKeyC2SPacket.write
(PacketByteBuf buf) void
LoginQueryResponseC2SPacket.write
(PacketByteBuf buf) void
LoginQueryResponsePayload.write
(PacketByteBuf buf) void
UnknownLoginQueryResponsePayload.write
(PacketByteBuf buf) ModifierConstructorDescription -
Uses of PacketByteBuf in net.minecraft.network.packet.c2s.play
Modifier and TypeFieldDescription(package private) final Function<PacketByteBuf,
PlayerInteractEntityC2SPacket.InteractTypeHandler> PlayerInteractEntityC2SPacket.InteractType.handlerGetter
Modifier and TypeMethodDescriptionstatic PlayerMoveC2SPacket.Full
PlayerMoveC2SPacket.Full.read
(PacketByteBuf buf) PlayerMoveC2SPacket.LookAndOnGround.read
(PacketByteBuf buf) PlayerMoveC2SPacket.OnGroundOnly.read
(PacketByteBuf buf) PlayerMoveC2SPacket.PositionAndOnGround.read
(PacketByteBuf buf) void
AcknowledgeChunksC2SPacket.write
(PacketByteBuf buf) void
AcknowledgeReconfigurationC2SPacket.write
(PacketByteBuf buf) void
AdvancementTabC2SPacket.write
(PacketByteBuf buf) void
BoatPaddleStateC2SPacket.write
(PacketByteBuf buf) void
BookUpdateC2SPacket.write
(PacketByteBuf buf) void
ButtonClickC2SPacket.write
(PacketByteBuf buf) void
ChatMessageC2SPacket.write
(PacketByteBuf buf) void
ClickSlotC2SPacket.write
(PacketByteBuf buf) void
ClientCommandC2SPacket.write
(PacketByteBuf buf) void
ClientStatusC2SPacket.write
(PacketByteBuf buf) void
CloseHandledScreenC2SPacket.write
(PacketByteBuf buf) void
CommandExecutionC2SPacket.write
(PacketByteBuf buf) void
CraftRequestC2SPacket.write
(PacketByteBuf buf) void
CreativeInventoryActionC2SPacket.write
(PacketByteBuf buf) void
HandSwingC2SPacket.write
(PacketByteBuf buf) void
JigsawGeneratingC2SPacket.write
(PacketByteBuf buf) void
MessageAcknowledgmentC2SPacket.write
(PacketByteBuf buf) void
PickFromInventoryC2SPacket.write
(PacketByteBuf buf) void
PlayerActionC2SPacket.write
(PacketByteBuf buf) void
PlayerInputC2SPacket.write
(PacketByteBuf buf) void
PlayerInteractBlockC2SPacket.write
(PacketByteBuf buf) void
PlayerInteractEntityC2SPacket.InteractAtHandler.write
(PacketByteBuf buf) void
PlayerInteractEntityC2SPacket.InteractHandler.write
(PacketByteBuf buf) void
PlayerInteractEntityC2SPacket.InteractTypeHandler.write
(PacketByteBuf buf) void
PlayerInteractEntityC2SPacket.write
(PacketByteBuf buf) void
PlayerInteractItemC2SPacket.write
(PacketByteBuf buf) void
PlayerMoveC2SPacket.Full.write
(PacketByteBuf buf) void
PlayerMoveC2SPacket.LookAndOnGround.write
(PacketByteBuf buf) void
PlayerMoveC2SPacket.OnGroundOnly.write
(PacketByteBuf buf) void
PlayerMoveC2SPacket.PositionAndOnGround.write
(PacketByteBuf buf) void
PlayerSessionC2SPacket.write
(PacketByteBuf buf) void
QueryBlockNbtC2SPacket.write
(PacketByteBuf buf) void
QueryEntityNbtC2SPacket.write
(PacketByteBuf buf) void
RecipeBookDataC2SPacket.write
(PacketByteBuf buf) void
RecipeCategoryOptionsC2SPacket.write
(PacketByteBuf buf) void
RenameItemC2SPacket.write
(PacketByteBuf buf) void
RequestCommandCompletionsC2SPacket.write
(PacketByteBuf buf) void
SelectMerchantTradeC2SPacket.write
(PacketByteBuf buf) void
SlotChangedStateC2SPacket.write
(PacketByteBuf buf) void
SpectatorTeleportC2SPacket.write
(PacketByteBuf buf) void
TeleportConfirmC2SPacket.write
(PacketByteBuf buf) void
UpdateBeaconC2SPacket.write
(PacketByteBuf buf) void
UpdateCommandBlockC2SPacket.write
(PacketByteBuf buf) void
UpdateCommandBlockMinecartC2SPacket.write
(PacketByteBuf buf) void
UpdateDifficultyC2SPacket.write
(PacketByteBuf buf) void
UpdateDifficultyLockC2SPacket.write
(PacketByteBuf buf) void
UpdateJigsawC2SPacket.write
(PacketByteBuf buf) void
UpdatePlayerAbilitiesC2SPacket.write
(PacketByteBuf buf) void
UpdateSelectedSlotC2SPacket.write
(PacketByteBuf buf) void
UpdateSignC2SPacket.write
(PacketByteBuf buf) void
UpdateStructureBlockC2SPacket.write
(PacketByteBuf buf) void
VehicleMoveC2SPacket.write
(PacketByteBuf buf) ModifierConstructorDescriptionprivate
private
ModifierConstructorDescriptionprivate
InteractType
(Function<PacketByteBuf, PlayerInteractEntityC2SPacket.InteractTypeHandler> handlerGetter) -
Uses of PacketByteBuf in net.minecraft.network.packet.c2s.query
Modifier and TypeMethodDescriptionvoid
QueryPingC2SPacket.write
(PacketByteBuf buf) void
QueryRequestC2SPacket.write
(PacketByteBuf buf) ModifierConstructorDescription -
Uses of PacketByteBuf in net.minecraft.network.packet.s2c.common
Modifier and TypeMethodDescriptionprivate static CustomPayload
CustomPayloadS2CPacket.readPayload
(Identifier id, PacketByteBuf buf) private static UnknownCustomPayload
CustomPayloadS2CPacket.readUnknownPayload
(Identifier id, PacketByteBuf buf) void
CommonPingS2CPacket.write
(PacketByteBuf buf) void
CustomPayloadS2CPacket.write
(PacketByteBuf buf) void
DisconnectS2CPacket.write
(PacketByteBuf buf) void
KeepAliveS2CPacket.write
(PacketByteBuf buf) void
ResourcePackRemoveS2CPacket.write
(PacketByteBuf buf) void
ResourcePackSendS2CPacket.write
(PacketByteBuf buf) void
SynchronizeTagsS2CPacket.write
(PacketByteBuf buf) ModifierConstructorDescription -
Uses of PacketByteBuf in net.minecraft.network.packet.s2c.config
Modifier and TypeMethodDescriptionvoid
DynamicRegistriesS2CPacket.write
(PacketByteBuf buf) void
FeaturesS2CPacket.write
(PacketByteBuf buf) void
ReadyS2CPacket.write
(PacketByteBuf buf) ModifierConstructorDescription -
Uses of PacketByteBuf in net.minecraft.network.packet.s2c.custom
Modifier and TypeMethodDescription(package private) static BlockBox
DebugStructuresCustomPayload.readBox
(PacketByteBuf buf) void
DebugBeeCustomPayload.Bee.write
(PacketByteBuf buf) void
DebugBeeCustomPayload.write
(PacketByteBuf buf) void
DebugBrainCustomPayload.Brain.write
(PacketByteBuf buf) void
DebugBrainCustomPayload.write
(PacketByteBuf buf) void
DebugBreezeCustomPayload.BreezeInfo.write
(PacketByteBuf buf) void
DebugBreezeCustomPayload.write
(PacketByteBuf buf) void
DebugGameEventCustomPayload.write
(PacketByteBuf buf) void
DebugGameEventListenersCustomPayload.write
(PacketByteBuf buf) void
DebugGameTestAddMarkerCustomPayload.write
(PacketByteBuf buf) void
DebugGameTestClearCustomPayload.write
(PacketByteBuf buf) void
DebugGoalSelectorCustomPayload.Goal.write
(PacketByteBuf buf) void
DebugGoalSelectorCustomPayload.write
(PacketByteBuf buf) void
DebugHiveCustomPayload.HiveInfo.write
(PacketByteBuf buf) void
DebugHiveCustomPayload.write
(PacketByteBuf buf) void
DebugNeighborsUpdateCustomPayload.write
(PacketByteBuf buf) void
DebugPathCustomPayload.write
(PacketByteBuf buf) void
DebugPoiAddedCustomPayload.write
(PacketByteBuf buf) void
DebugPoiRemovedCustomPayload.write
(PacketByteBuf buf) void
DebugPoiTicketCountCustomPayload.write
(PacketByteBuf buf) void
DebugRaidsCustomPayload.write
(PacketByteBuf buf) void
DebugStructuresCustomPayload.Piece.write
(PacketByteBuf buf) void
DebugStructuresCustomPayload.write
(PacketByteBuf buf) void
DebugVillageSectionsCustomPayload.write
(PacketByteBuf buf) void
DebugWorldgenAttemptCustomPayload.write
(PacketByteBuf buf) (package private) static void
DebugStructuresCustomPayload.writeBox
(PacketByteBuf buf, BlockBox box) ModifierConstructorDescriptionBee
(PacketByteBuf buf) Brain
(PacketByteBuf buf) BreezeInfo
(PacketByteBuf buf) Goal
(PacketByteBuf buf) HiveInfo
(PacketByteBuf buf) Piece
(PacketByteBuf buf) -
Uses of PacketByteBuf in net.minecraft.network.packet.s2c.login
Modifier and TypeMethodDescriptionprivate static LoginQueryRequestPayload
LoginQueryRequestS2CPacket.readPayload
(Identifier id, PacketByteBuf buf) private static UnknownLoginQueryRequestPayload
LoginQueryRequestS2CPacket.readUnknownPayload
(Identifier id, PacketByteBuf buf) void
LoginCompressionS2CPacket.write
(PacketByteBuf buf) void
LoginDisconnectS2CPacket.write
(PacketByteBuf buf) void
LoginHelloS2CPacket.write
(PacketByteBuf buf) void
LoginQueryRequestPayload.write
(PacketByteBuf buf) void
LoginQueryRequestS2CPacket.write
(PacketByteBuf buf) void
LoginSuccessS2CPacket.write
(PacketByteBuf buf) void
UnknownLoginQueryRequestPayload.write
(PacketByteBuf buf) ModifierConstructorDescription -
Uses of PacketByteBuf in net.minecraft.network.packet.s2c.play
Modifier and TypeFieldDescription(package private) final Function<PacketByteBuf,
BossBarS2CPacket.Action> BossBarS2CPacket.Type.parser
Modifier and TypeMethodDescriptionChunkData.getSectionsDataBuf()
ChunkBiomeDataS2CPacket.Serialized.toReadingBuf()
Modifier and TypeMethodDescriptionprivate static <T> Stat<T>
StatisticsS2CPacket.getOrCreateStat
(PacketByteBuf buf, StatType<T> statType) static EntityS2CPacket.MoveRelative
EntityS2CPacket.MoveRelative.read
(PacketByteBuf buf) static EntityS2CPacket.Rotate
EntityS2CPacket.Rotate.read
(PacketByteBuf buf) EntityS2CPacket.RotateAndMoveRelative.read
(PacketByteBuf buf) private static List<DataTracker.SerializedEntry<?>>
EntityTrackerUpdateS2CPacket.read
(PacketByteBuf buf) void
PlayerListS2CPacket.Action.Reader.read
(PlayerListS2CPacket.Serialized serialized, PacketByteBuf buf) private static @Nullable CommandTreeS2CPacket.SuggestableNode
CommandTreeS2CPacket.readArgumentBuilder
(PacketByteBuf buf, byte flags) private static CommandTreeS2CPacket.CommandNodeData
CommandTreeS2CPacket.readCommandNode
(PacketByteBuf buf) private static int
EntityDamageS2CPacket.readOffsetVarInt
(PacketByteBuf buf) private <T extends ParticleEffect>
TExplosionS2CPacket.readParticleEffect
(PacketByteBuf buf, ParticleType<T> particleType) private <T extends ParticleEffect>
TParticleS2CPacket.readParticleParameters
(PacketByteBuf buf, ParticleType<T> type) private static RecipeEntry<?>
SynchronizeRecipesS2CPacket.readRecipe
(PacketByteBuf buf) void
BossBarS2CPacket.Action.toPacket
(PacketByteBuf buf) void
BossBarS2CPacket.AddAction.toPacket
(PacketByteBuf buf) void
BossBarS2CPacket.UpdateNameAction.toPacket
(PacketByteBuf buf) void
BossBarS2CPacket.UpdateProgressAction.toPacket
(PacketByteBuf buf) void
BossBarS2CPacket.UpdatePropertiesAction.toPacket
(PacketByteBuf buf) void
BossBarS2CPacket.UpdateStyleAction.toPacket
(PacketByteBuf buf) void
AdvancementUpdateS2CPacket.write
(PacketByteBuf buf) void
BlockBreakingProgressS2CPacket.write
(PacketByteBuf buf) void
BlockEntityUpdateS2CPacket.write
(PacketByteBuf buf) void
BlockEventS2CPacket.write
(PacketByteBuf buf) void
BlockUpdateS2CPacket.write
(PacketByteBuf buf) void
BossBarS2CPacket.write
(PacketByteBuf buf) void
ChatMessageS2CPacket.write
(PacketByteBuf buf) void
ChatSuggestionsS2CPacket.write
(PacketByteBuf buf) void
ChunkBiomeDataS2CPacket.Serialized.write
(PacketByteBuf buf) static void
ChunkBiomeDataS2CPacket.Serialized.write
(PacketByteBuf buf, WorldChunk chunk) void
ChunkBiomeDataS2CPacket.write
(PacketByteBuf buf) (package private) void
ChunkData.BlockEntityData.write
(PacketByteBuf buf) void
ChunkData.write
(PacketByteBuf buf) void
ChunkDataS2CPacket.write
(PacketByteBuf buf) void
ChunkDeltaUpdateS2CPacket.write
(PacketByteBuf buf) void
ChunkLoadDistanceS2CPacket.write
(PacketByteBuf buf) void
ChunkRenderDistanceCenterS2CPacket.write
(PacketByteBuf buf) void
ChunkSentS2CPacket.write
(PacketByteBuf buf) void
ClearTitleS2CPacket.write
(PacketByteBuf buf) void
CloseScreenS2CPacket.write
(PacketByteBuf buf) void
CommandSuggestionsS2CPacket.write
(PacketByteBuf buf) void
CommandTreeS2CPacket.ArgumentNode.write
(PacketByteBuf buf) private static <A extends com.mojang.brigadier.arguments.ArgumentType<?>>
voidCommandTreeS2CPacket.ArgumentNode.write
(PacketByteBuf buf, ArgumentSerializer.ArgumentTypeProperties<A> properties) private static <A extends com.mojang.brigadier.arguments.ArgumentType<?>,
T extends ArgumentSerializer.ArgumentTypeProperties<A>>
voidCommandTreeS2CPacket.ArgumentNode.write
(PacketByteBuf buf, ArgumentSerializer<A, T> serializer, ArgumentSerializer.ArgumentTypeProperties<A> properties) void
CommandTreeS2CPacket.CommandNodeData.write
(PacketByteBuf buf) void
CommandTreeS2CPacket.LiteralNode.write
(PacketByteBuf buf) void
CommandTreeS2CPacket.SuggestableNode.write
(PacketByteBuf buf) void
CommandTreeS2CPacket.write
(PacketByteBuf buf) void
CommonPlayerSpawnInfo.write
(PacketByteBuf buf) void
CooldownUpdateS2CPacket.write
(PacketByteBuf buf) void
CraftFailedResponseS2CPacket.write
(PacketByteBuf buf) void
DamageTiltS2CPacket.write
(PacketByteBuf buf) void
DeathMessageS2CPacket.write
(PacketByteBuf buf) void
DifficultyS2CPacket.write
(PacketByteBuf buf) void
EndCombatS2CPacket.write
(PacketByteBuf buf) void
EnterCombatS2CPacket.write
(PacketByteBuf buf) void
EnterReconfigurationS2CPacket.write
(PacketByteBuf buf) void
EntitiesDestroyS2CPacket.write
(PacketByteBuf buf) void
EntityAnimationS2CPacket.write
(PacketByteBuf buf) void
EntityAttachS2CPacket.write
(PacketByteBuf buf) void
EntityAttributesS2CPacket.write
(PacketByteBuf buf) void
EntityDamageS2CPacket.write
(PacketByteBuf buf) void
EntityEquipmentUpdateS2CPacket.write
(PacketByteBuf buf) void
EntityPassengersSetS2CPacket.write
(PacketByteBuf buf) void
EntityPositionS2CPacket.write
(PacketByteBuf buf) void
EntityS2CPacket.MoveRelative.write
(PacketByteBuf buf) void
EntityS2CPacket.Rotate.write
(PacketByteBuf buf) void
EntityS2CPacket.RotateAndMoveRelative.write
(PacketByteBuf buf) void
EntitySetHeadYawS2CPacket.write
(PacketByteBuf buf) void
EntitySpawnS2CPacket.write
(PacketByteBuf buf) void
EntityStatusEffectS2CPacket.write
(PacketByteBuf buf) void
EntityStatusS2CPacket.write
(PacketByteBuf buf) private static void
EntityTrackerUpdateS2CPacket.write
(List<DataTracker.SerializedEntry<?>> trackedValues, PacketByteBuf buf) void
EntityTrackerUpdateS2CPacket.write
(PacketByteBuf buf) void
EntityVelocityUpdateS2CPacket.write
(PacketByteBuf buf) void
ExperienceBarUpdateS2CPacket.write
(PacketByteBuf buf) void
ExperienceOrbSpawnS2CPacket.write
(PacketByteBuf buf) void
ExplosionS2CPacket.write
(PacketByteBuf buf) void
GameJoinS2CPacket.write
(PacketByteBuf buf) void
GameMessageS2CPacket.write
(PacketByteBuf buf) void
GameStateChangeS2CPacket.write
(PacketByteBuf buf) void
HealthUpdateS2CPacket.write
(PacketByteBuf buf) void
InventoryS2CPacket.write
(PacketByteBuf buf) void
ItemPickupAnimationS2CPacket.write
(PacketByteBuf buf) void
LightData.write
(PacketByteBuf buf) void
LightUpdateS2CPacket.write
(PacketByteBuf buf) void
LookAtS2CPacket.write
(PacketByteBuf buf) void
MapUpdateS2CPacket.write
(PacketByteBuf buf) void
NbtQueryResponseS2CPacket.write
(PacketByteBuf buf) void
OpenHorseScreenS2CPacket.write
(PacketByteBuf buf) void
OpenScreenS2CPacket.write
(PacketByteBuf buf) void
OpenWrittenBookS2CPacket.write
(PacketByteBuf buf) void
OverlayMessageS2CPacket.write
(PacketByteBuf buf) void
ParticleS2CPacket.write
(PacketByteBuf buf) void
PlayerAbilitiesS2CPacket.write
(PacketByteBuf buf) void
PlayerActionResponseS2CPacket.write
(PacketByteBuf buf) void
PlayerListHeaderS2CPacket.write
(PacketByteBuf buf) void
PlayerListS2CPacket.Action.Writer.write
(PacketByteBuf buf, PlayerListS2CPacket.Entry entry) void
PlayerListS2CPacket.write
(PacketByteBuf buf) void
PlayerPositionLookS2CPacket.write
(PacketByteBuf buf) void
PlayerRemoveS2CPacket.write
(PacketByteBuf buf) void
PlayerRespawnS2CPacket.write
(PacketByteBuf buf) void
PlayerSpawnPositionS2CPacket.write
(PacketByteBuf buf) void
PlaySoundFromEntityS2CPacket.write
(PacketByteBuf buf) void
PlaySoundS2CPacket.write
(PacketByteBuf buf) void
ProfilelessChatMessageS2CPacket.write
(PacketByteBuf buf) void
RemoveEntityStatusEffectS2CPacket.write
(PacketByteBuf buf) void
RemoveMessageS2CPacket.write
(PacketByteBuf buf) void
ScoreboardDisplayS2CPacket.write
(PacketByteBuf buf) void
ScoreboardObjectiveUpdateS2CPacket.write
(PacketByteBuf buf) void
ScoreboardScoreResetS2CPacket.write
(PacketByteBuf buf) void
ScoreboardScoreUpdateS2CPacket.write
(PacketByteBuf buf) void
ScreenHandlerPropertyUpdateS2CPacket.write
(PacketByteBuf buf) void
ScreenHandlerSlotUpdateS2CPacket.write
(PacketByteBuf buf) void
SelectAdvancementTabS2CPacket.write
(PacketByteBuf buf) void
ServerMetadataS2CPacket.write
(PacketByteBuf buf) void
SetCameraEntityS2CPacket.write
(PacketByteBuf buf) void
SetTradeOffersS2CPacket.write
(PacketByteBuf buf) void
SignEditorOpenS2CPacket.write
(PacketByteBuf buf) void
SimulationDistanceS2CPacket.write
(PacketByteBuf buf) void
StartChunkSendS2CPacket.write
(PacketByteBuf buf) void
StatisticsS2CPacket.write
(PacketByteBuf buf) private static <T> void
StatisticsS2CPacket.write
(PacketByteBuf buf, Stat<T> stat) void
StopSoundS2CPacket.write
(PacketByteBuf buf) void
SubtitleS2CPacket.write
(PacketByteBuf buf) void
SynchronizeRecipesS2CPacket.write
(PacketByteBuf buf) void
TeamS2CPacket.SerializableTeam.write
(PacketByteBuf buf) void
TeamS2CPacket.write
(PacketByteBuf buf) void
TickStepS2CPacket.write
(PacketByteBuf buf) void
TitleFadeS2CPacket.write
(PacketByteBuf buf) void
TitleS2CPacket.write
(PacketByteBuf buf) void
UnloadChunkS2CPacket.write
(PacketByteBuf buf) void
UnlockRecipesS2CPacket.write
(PacketByteBuf buf) void
UpdateSelectedSlotS2CPacket.write
(PacketByteBuf buf) void
UpdateTickRateS2CPacket.write
(PacketByteBuf buf) void
VehicleMoveS2CPacket.write
(PacketByteBuf buf) void
WorldBorderCenterChangedS2CPacket.write
(PacketByteBuf buf) void
WorldBorderInitializeS2CPacket.write
(PacketByteBuf buf) void
WorldBorderInterpolateSizeS2CPacket.write
(PacketByteBuf buf) void
WorldBorderSizeChangedS2CPacket.write
(PacketByteBuf buf) void
WorldBorderWarningBlocksChangedS2CPacket.write
(PacketByteBuf buf) void
WorldBorderWarningTimeChangedS2CPacket.write
(PacketByteBuf buf) void
WorldEventS2CPacket.write
(PacketByteBuf buf) void
WorldTimeUpdateS2CPacket.write
(PacketByteBuf buf) private static void
EntityDamageS2CPacket.writeOffsetVarInt
(PacketByteBuf buf, int value) void
ExplosionS2CPacket.writeParticleEffect
(PacketByteBuf buf, ParticleEffect particleEffect) static <T extends Recipe<?>>
voidSynchronizeRecipesS2CPacket.writeRecipe
(PacketByteBuf buf, RecipeEntry<?> recipe) static void
ChunkData.writeSections
(PacketByteBuf buf, WorldChunk chunk) ModifierConstructorDescriptionprivate
AddAction
(PacketByteBuf buf) private
ChunkData
(PacketByteBuf buf, int x, int z) LightData
(PacketByteBuf buf, int x, int y) Serialized
(PacketByteBuf buf) private
private
private
private
ModifierConstructorDescriptionprivate
Type
(Function<PacketByteBuf, BossBarS2CPacket.Action> parser) -
Uses of PacketByteBuf in net.minecraft.network.packet.s2c.query
Modifier and TypeMethodDescriptionvoid
PingResultS2CPacket.write
(PacketByteBuf buf) void
QueryResponseS2CPacket.write
(PacketByteBuf buf) ModifierConstructorDescription -
Uses of PacketByteBuf in net.minecraft.particle
Modifier and TypeMethodDescriptionParticleEffect.Factory.read
(ParticleType<T> type, PacketByteBuf buf) Deprecated.static Vector3f
AbstractDustParticleEffect.readColor
(PacketByteBuf buf) void
AbstractDustParticleEffect.write
(PacketByteBuf buf) void
BlockStateParticleEffect.write
(PacketByteBuf buf) void
DefaultParticleType.write
(PacketByteBuf buf) void
DustColorTransitionParticleEffect.write
(PacketByteBuf buf) void
ItemStackParticleEffect.write
(PacketByteBuf buf) void
ParticleEffect.write
(PacketByteBuf buf) void
SculkChargeParticleEffect.write
(PacketByteBuf buf) void
ShriekParticleEffect.write
(PacketByteBuf buf) void
VibrationParticleEffect.write
(PacketByteBuf buf) -
Uses of PacketByteBuf in net.minecraft.recipe
Modifier and TypeMethodDescriptionstatic Ingredient
Ingredient.fromPacket
(PacketByteBuf buf) CookingRecipeSerializer.read
(PacketByteBuf packetByteBuf) CuttingRecipe.Serializer.read
(PacketByteBuf packetByteBuf) RecipeSerializer.read
(PacketByteBuf buf) Reads a recipe from a packet byte buf, usually on the client.ShapedRecipe.Serializer.read
(PacketByteBuf packetByteBuf) ShapelessRecipe.Serializer.read
(PacketByteBuf packetByteBuf) SmithingTransformRecipe.Serializer.read
(PacketByteBuf packetByteBuf) SmithingTrimRecipe.Serializer.read
(PacketByteBuf packetByteBuf) SpecialRecipeSerializer.read
(PacketByteBuf packetByteBuf) static RawShapedRecipe
RawShapedRecipe.readFromBuf
(PacketByteBuf buf) void
CookingRecipeSerializer.write
(PacketByteBuf packetByteBuf, T t) void
CuttingRecipe.Serializer.write
(PacketByteBuf packetByteBuf, T t) void
Ingredient.write
(PacketByteBuf buf) void
RecipeSerializer.write
(PacketByteBuf buf, T recipe) Writes a recipe to a packet byte buf, usually on the server.void
ShapedRecipe.Serializer.write
(PacketByteBuf packetByteBuf, ShapedRecipe shapedRecipe) void
ShapelessRecipe.Serializer.write
(PacketByteBuf packetByteBuf, ShapelessRecipe shapelessRecipe) void
SmithingTransformRecipe.Serializer.write
(PacketByteBuf packetByteBuf, SmithingTransformRecipe smithingTransformRecipe) void
SmithingTrimRecipe.Serializer.write
(PacketByteBuf packetByteBuf, SmithingTrimRecipe smithingTrimRecipe) void
SpecialRecipeSerializer.write
(PacketByteBuf packetByteBuf, T t) void
RawShapedRecipe.writeToBuf
(PacketByteBuf buf) -
Uses of PacketByteBuf in net.minecraft.recipe.book
Modifier and TypeMethodDescriptionstatic RecipeBookOptions
RecipeBookOptions.fromPacket
(PacketByteBuf buf) void
RecipeBookOptions.toPacket
(PacketByteBuf buf) -
Uses of PacketByteBuf in net.minecraft.registry.tag
Modifier and TypeMethodDescriptionTagPacketSerializer.Serialized.fromBuf
(PacketByteBuf buf) void
TagPacketSerializer.Serialized.writeBuf
(PacketByteBuf buf) -
Uses of PacketByteBuf in net.minecraft.scoreboard.number
Modifier and TypeMethodDescriptionNumberFormatType.fromBuf
(PacketByteBuf buf) static NumberFormat
NumberFormatTypes.fromBuf
(PacketByteBuf buf) void
NumberFormatType.toBuf
(PacketByteBuf buf, T format) static <T extends NumberFormat>
voidNumberFormatTypes.toBuf
(PacketByteBuf buf, T format) -
Uses of PacketByteBuf in net.minecraft.sound
Modifier and TypeMethodDescriptionstatic SoundEvent
SoundEvent.fromBuf
(PacketByteBuf buf) void
SoundEvent.writeBuf
(PacketByteBuf buf) -
Uses of PacketByteBuf in net.minecraft.village
Modifier and TypeMethodDescriptionstatic TradeOfferList
TradeOfferList.fromPacket
(PacketByteBuf buf) void
TradeOfferList.toPacket
(PacketByteBuf buf) -
Uses of PacketByteBuf in net.minecraft.world.chunk
Modifier and TypeMethodDescriptionvoid
WorldChunk.loadBiomeFromPacket
(PacketByteBuf buf) void
WorldChunk.loadFromPacket
(PacketByteBuf buf, NbtCompound nbt, Consumer<ChunkData.BlockEntityVisitor> consumer) void
ChunkSection.readBiomePacket
(PacketByteBuf buf) void
ChunkSection.readDataPacket
(PacketByteBuf buf) void
ArrayPalette.readPacket
(PacketByteBuf buf) Initializes this palette from thebuf
.void
BiMapPalette.readPacket
(PacketByteBuf buf) Initializes this palette from thebuf
.void
IdListPalette.readPacket
(PacketByteBuf buf) Initializes this palette from thebuf
.void
Palette.readPacket
(PacketByteBuf buf) Initializes this palette from thebuf
.void
PalettedContainer.readPacket
(PacketByteBuf buf) Reads data from the packet byte buffer into this container.void
SingularPalette.readPacket
(PacketByteBuf buf) Initializes this palette from thebuf
.void
ChunkSection.toPacket
(PacketByteBuf buf) void
ArrayPalette.writePacket
(PacketByteBuf buf) Writes this palette to thebuf
.void
BiMapPalette.writePacket
(PacketByteBuf buf) Writes this palette to thebuf
.void
IdListPalette.writePacket
(PacketByteBuf buf) Writes this palette to thebuf
.void
Palette.writePacket
(PacketByteBuf buf) Writes this palette to thebuf
.void
PalettedContainer.Data.writePacket
(PacketByteBuf buf) void
PalettedContainer.writePacket
(PacketByteBuf buf) Writes this container to the packet byte buffer.void
ReadableContainer.writePacket
(PacketByteBuf buf) Writes this container to the packet byte buffer.void
SingularPalette.writePacket
(PacketByteBuf buf) Writes this palette to thebuf
. -
Uses of PacketByteBuf in net.minecraft.world.event
Modifier and TypeMethodDescriptionstatic PositionSource
PositionSourceType.read
(PacketByteBuf buf) BlockPositionSource.Type.readFromBuf
(PacketByteBuf packetByteBuf) EntityPositionSource.Type.readFromBuf
(PacketByteBuf packetByteBuf) PositionSourceType.readFromBuf
(PacketByteBuf buf) static <T extends PositionSource>
voidPositionSourceType.write
(T positionSource, PacketByteBuf buf) void
BlockPositionSource.Type.writeToBuf
(PacketByteBuf packetByteBuf, BlockPositionSource blockPositionSource) void
EntityPositionSource.Type.writeToBuf
(PacketByteBuf packetByteBuf, EntityPositionSource entityPositionSource) void
PositionSourceType.writeToBuf
(PacketByteBuf buf, T positionSource)