Uses of Class
net.minecraft.network.PacketByteBuf
Package
Description
-
Uses of PacketByteBuf in net.minecraft.advancement
Modifier and TypeMethodDescriptionstatic Map<String,
AdvancementCriterion> AdvancementCriterion.criteriaFromPacket
(PacketByteBuf buf) static void
AdvancementCriterion.criteriaToPacket
(Map<String, AdvancementCriterion> criteria, PacketByteBuf buf) static Advancement.Task
Advancement.Task.fromPacket
(PacketByteBuf buf) static AdvancementCriterion
AdvancementCriterion.fromPacket
(PacketByteBuf buf) static AdvancementDisplay
AdvancementDisplay.fromPacket
(PacketByteBuf buf) static AdvancementProgress
AdvancementProgress.fromPacket
(PacketByteBuf buf) void
Advancement.Task.toPacket
(PacketByteBuf buf) void
AdvancementCriterion.toPacket
(PacketByteBuf buf) void
AdvancementDisplay.toPacket
(PacketByteBuf buf) void
AdvancementProgress.toPacket
(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) -
Uses of PacketByteBuf in net.minecraft.command.argument
Modifier and TypeMethodDescriptionstatic @Nullable com.mojang.brigadier.arguments.ArgumentType<?>
ArgumentTypes.fromPacket
(PacketByteBuf buf) EntityArgumentType.Serializer.fromPacket
(PacketByteBuf packetByteBuf) ScoreHolderArgumentType.Serializer.fromPacket
(PacketByteBuf packetByteBuf) static <T extends com.mojang.brigadier.arguments.ArgumentType<?>>
voidArgumentTypes.toPacket
(PacketByteBuf buf, T type) void
EntityArgumentType.Serializer.toPacket
(EntityArgumentType entityArgumentType, PacketByteBuf packetByteBuf) void
ScoreHolderArgumentType.Serializer.toPacket
(ScoreHolderArgumentType scoreHolderArgumentType, PacketByteBuf packetByteBuf) -
Uses of PacketByteBuf in net.minecraft.command.argument.serialize
Modifier and TypeMethodDescriptionArgumentSerializer.fromPacket
(PacketByteBuf buf) ConstantArgumentSerializer.fromPacket
(PacketByteBuf buf) com.mojang.brigadier.arguments.DoubleArgumentType
DoubleArgumentSerializer.fromPacket
(PacketByteBuf packetByteBuf) com.mojang.brigadier.arguments.FloatArgumentType
FloatArgumentSerializer.fromPacket
(PacketByteBuf packetByteBuf) com.mojang.brigadier.arguments.IntegerArgumentType
IntegerArgumentSerializer.fromPacket
(PacketByteBuf packetByteBuf) com.mojang.brigadier.arguments.LongArgumentType
LongArgumentSerializer.fromPacket
(PacketByteBuf packetByteBuf) com.mojang.brigadier.arguments.StringArgumentType
StringArgumentSerializer.fromPacket
(PacketByteBuf packetByteBuf) void
ArgumentSerializer.toPacket
(T type, PacketByteBuf buf) void
ConstantArgumentSerializer.toPacket
(T type, PacketByteBuf buf) void
DoubleArgumentSerializer.toPacket
(com.mojang.brigadier.arguments.DoubleArgumentType doubleArgumentType, PacketByteBuf packetByteBuf) void
FloatArgumentSerializer.toPacket
(com.mojang.brigadier.arguments.FloatArgumentType floatArgumentType, PacketByteBuf packetByteBuf) void
IntegerArgumentSerializer.toPacket
(com.mojang.brigadier.arguments.IntegerArgumentType integerArgumentType, PacketByteBuf packetByteBuf) void
LongArgumentSerializer.toPacket
(com.mojang.brigadier.arguments.LongArgumentType longArgumentType, PacketByteBuf packetByteBuf) void
StringArgumentSerializer.toPacket
(com.mojang.brigadier.arguments.StringArgumentType stringArgumentType, PacketByteBuf packetByteBuf) -
Uses of PacketByteBuf in net.minecraft.entity.ai.pathing
Modifier and TypeMethodDescriptionstatic Path
Path.fromBuffer
(PacketByteBuf buffer) static TargetPathNode
TargetPathNode.fromBuffer
(PacketByteBuf buffer) static PathNode
PathNode.readBuf
(PacketByteBuf buf) void
Path.toBuffer
(PacketByteBuf buffer) void
PathNode.toBuffer
(PacketByteBuf buffer) -
Uses of PacketByteBuf in net.minecraft.entity.data
Modifier and TypeMethodDescriptionstatic @Nullable List<DataTracker.Entry<?>>
DataTracker.deserializePacket
(PacketByteBuf buf) static void
DataTracker.entriesToPacket
(@Nullable List<DataTracker.Entry<?>> entries, PacketByteBuf buf) private static <T> DataTracker.Entry<T>
DataTracker.entryFromPacket
(PacketByteBuf buf, int int2, TrackedDataHandler<T> trackedDataHandler) TrackedDataHandler.read
(PacketByteBuf buf) void
TrackedDataHandler.write
(PacketByteBuf buf, T value) private static <T> void
DataTracker.writeEntryToPacket
(PacketByteBuf buf, DataTracker.Entry<T> entry) -
Uses of PacketByteBuf in net.minecraft.network
Modifier and TypeFieldDescriptionprivate final List<Function<PacketByteBuf,
? extends Packet<T>>> NetworkState.PacketHandler.packetFactories
Modifier and TypeMethodDescriptionPacketByteBuf.writeBlockPos
(BlockPos pos) Writes a block position to this buf.PacketByteBuf.writeByteArray
(byte[] array) Writes an array of primitive bytes to this buf.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.writeEnumConstant
(Enum<?> instance) Writes an enum constant to this buf.PacketByteBuf.writeIdentifier
(Identifier id) Writes an identifier to this buf.PacketByteBuf.writeIntArray
(int[] array) Writes an array of primitive ints to this buf.PacketByteBuf.writeItemStack
(ItemStack stack) Writes an item stack to this buf.PacketByteBuf.writeLongArray
(long[] array) Writes an array of primitive longs to this buf.PacketByteBuf.writeNbt
(@Nullable NbtCompound compound) Writes an NBT compound to this buf.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.Modifier and TypeMethodDescriptionNetworkState.PacketHandler.createPacket
(int id, PacketByteBuf buf) NetworkState.getPacketHandler
(NetworkSide side, int packetId, PacketByteBuf buf) void
Packet.write
(PacketByteBuf buf) Modifier and TypeMethodDescriptionvoid
PacketByteBuf.forEachInCollection
(Consumer<PacketByteBuf> consumer) Iterates a collection from this buf.<T,
C extends Collection<T>>
CPacketByteBuf.readCollection
(IntFunction<C> collectionFactory, Function<PacketByteBuf, T> entryParser) Reads a collection from this buf.<T> List<T>
PacketByteBuf.readList
(Function<PacketByteBuf, T> entryParser) Reads a collection from this buf as an array list.<K,
V> Map<K, V> PacketByteBuf.readMap
(Function<PacketByteBuf, K> keyParser, Function<PacketByteBuf, V> valueParser) Reads a map from this buf as a hash map.<K,
V, M extends Map<K, V>>
MPacketByteBuf.readMap
(IntFunction<M> mapFactory, Function<PacketByteBuf, K> keyParser, Function<PacketByteBuf, V> valueParser) Reads a map from this buf.<T> Optional<T>
PacketByteBuf.readOptional
(Function<PacketByteBuf, T> parser) Reads an optional value from this buf.<P extends Packet<T>>
NetworkState.PacketHandler<T>NetworkState.PacketHandler.register
(Class<P> type, Function<PacketByteBuf, P> packetFactory) <T> void
PacketByteBuf.writeCollection
(Collection<T> collection, BiConsumer<PacketByteBuf, T> entrySerializer) Writes a collection to this buf.<K,
V> void PacketByteBuf.writeMap
(Map<K, V> map, BiConsumer<PacketByteBuf, K> keySerializer, BiConsumer<PacketByteBuf, V> valueSerializer) Writes a map to this buf.<T> void
PacketByteBuf.writeOptional
(Optional<T> value, BiConsumer<PacketByteBuf, T> serializer) Writes an optional value to this buf. -
Uses of PacketByteBuf in net.minecraft.network.packet.c2s.handshake
-
Uses of PacketByteBuf in net.minecraft.network.packet.c2s.login
Modifier and TypeFieldDescriptionprivate final @Nullable PacketByteBuf
LoginQueryResponseC2SPacket.response
Modifier and TypeMethodDescriptionvoid
LoginHelloC2SPacket.write
(PacketByteBuf buf) void
LoginKeyC2SPacket.write
(PacketByteBuf buf) void
LoginQueryResponseC2SPacket.write
(PacketByteBuf buf) ModifierConstructorDescriptionLoginQueryResponseC2SPacket
(int queryId, @Nullable PacketByteBuf response) -
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
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
ClientSettingsC2SPacket.write
(PacketByteBuf buf) void
ClientStatusC2SPacket.write
(PacketByteBuf buf) void
CloseHandledScreenC2SPacket.write
(PacketByteBuf buf) void
CraftRequestC2SPacket.write
(PacketByteBuf buf) void
CreativeInventoryActionC2SPacket.write
(PacketByteBuf buf) void
CustomPayloadC2SPacket.write
(PacketByteBuf buf) void
HandSwingC2SPacket.write
(PacketByteBuf buf) void
JigsawGeneratingC2SPacket.write
(PacketByteBuf buf) void
KeepAliveC2SPacket.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
PlayPongC2SPacket.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
ResourcePackStatusC2SPacket.write
(PacketByteBuf buf) void
SelectMerchantTradeC2SPacket.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) ModifierConstructorDescriptionCustomPayloadC2SPacket
(Identifier channel, PacketByteBuf data) private
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.login
Modifier and TypeMethodDescriptionvoid
LoginCompressionS2CPacket.write
(PacketByteBuf buf) void
LoginDisconnectS2CPacket.write
(PacketByteBuf buf) void
LoginHelloS2CPacket.write
(PacketByteBuf buf) void
LoginQueryRequestS2CPacket.write
(PacketByteBuf buf) void
LoginSuccessS2CPacket.write
(PacketByteBuf buf) ModifierConstructorDescriptionLoginQueryRequestS2CPacket
(int queryId, Identifier channel, PacketByteBuf payload) -
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 TypeMethodDescriptionCustomPayloadS2CPacket.getData()
ChunkData.getSectionsDataBuf()
Modifier and TypeMethodDescriptionstatic EntityS2CPacket.MoveRelative
EntityS2CPacket.MoveRelative.read
(PacketByteBuf buf) static EntityS2CPacket.Rotate
EntityS2CPacket.Rotate.read
(PacketByteBuf buf) EntityS2CPacket.RotateAndMoveRelative.read
(PacketByteBuf buf) protected abstract PlayerListS2CPacket.Entry
PlayerListS2CPacket.Action.read
(PacketByteBuf buf) private static @Nullable com.mojang.brigadier.builder.ArgumentBuilder<CommandSource,
?> CommandTreeS2CPacket.readArgumentBuilder
(PacketByteBuf buf, byte byte2) private static CommandTreeS2CPacket.CommandNodeData
CommandTreeS2CPacket.readCommandNode
(PacketByteBuf buf) PlayerListS2CPacket.readOptionalText
(PacketByteBuf buf) private <T extends ParticleEffect>
TParticleS2CPacket.readParticleParameters
(PacketByteBuf buf, ParticleType<T> type) static Recipe<?>
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) (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
ClearTitleS2CPacket.write
(PacketByteBuf buf) void
CloseScreenS2CPacket.write
(PacketByteBuf buf) void
CommandSuggestionsS2CPacket.write
(PacketByteBuf buf) void
CommandTreeS2CPacket.write
(PacketByteBuf buf) void
CooldownUpdateS2CPacket.write
(PacketByteBuf buf) void
CraftFailedResponseS2CPacket.write
(PacketByteBuf buf) void
CustomPayloadS2CPacket.write
(PacketByteBuf buf) void
DeathMessageS2CPacket.write
(PacketByteBuf buf) void
DifficultyS2CPacket.write
(PacketByteBuf buf) void
DisconnectS2CPacket.write
(PacketByteBuf buf) void
EndCombatS2CPacket.write
(PacketByteBuf buf) void
EnterCombatS2CPacket.write
(PacketByteBuf buf) void
EntitiesDestroyS2CPacket.write
(PacketByteBuf buf) void
EntityAnimationS2CPacket.write
(PacketByteBuf buf) void
EntityAttachS2CPacket.write
(PacketByteBuf buf) void
EntityAttributesS2CPacket.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) 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
KeepAliveS2CPacket.write
(PacketByteBuf buf) void
LightData.write
(PacketByteBuf buf) void
LightUpdateS2CPacket.write
(PacketByteBuf buf) void
LookAtS2CPacket.write
(PacketByteBuf buf) void
MapUpdateS2CPacket.write
(PacketByteBuf buf) void
MobSpawnS2CPacket.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
PaintingSpawnS2CPacket.write
(PacketByteBuf buf) void
ParticleS2CPacket.write
(PacketByteBuf buf) void
PlayerAbilitiesS2CPacket.write
(PacketByteBuf buf) void
PlayerActionResponseS2CPacket.write
(PacketByteBuf buf) void
PlayerListHeaderS2CPacket.write
(PacketByteBuf buf) protected abstract void
PlayerListS2CPacket.Action.write
(PacketByteBuf buf, PlayerListS2CPacket.Entry entry) void
PlayerListS2CPacket.write
(PacketByteBuf buf) void
PlayerPositionLookS2CPacket.write
(PacketByteBuf buf) void
PlayerRespawnS2CPacket.write
(PacketByteBuf buf) void
PlayerSpawnPositionS2CPacket.write
(PacketByteBuf buf) void
PlayerSpawnS2CPacket.write
(PacketByteBuf buf) void
PlayPingS2CPacket.write
(PacketByteBuf buf) void
PlaySoundFromEntityS2CPacket.write
(PacketByteBuf buf) void
PlaySoundIdS2CPacket.write
(PacketByteBuf buf) void
PlaySoundS2CPacket.write
(PacketByteBuf buf) void
RemoveEntityStatusEffectS2CPacket.write
(PacketByteBuf buf) void
ResourcePackSendS2CPacket.write
(PacketByteBuf buf) void
ScoreboardDisplayS2CPacket.write
(PacketByteBuf buf) void
ScoreboardObjectiveUpdateS2CPacket.write
(PacketByteBuf buf) void
ScoreboardPlayerUpdateS2CPacket.write
(PacketByteBuf buf) void
ScreenHandlerPropertyUpdateS2CPacket.write
(PacketByteBuf buf) void
ScreenHandlerSlotUpdateS2CPacket.write
(PacketByteBuf buf) void
SelectAdvancementTabS2CPacket.write
(PacketByteBuf buf) void
SetCameraEntityS2CPacket.write
(PacketByteBuf buf) void
SetTradeOffersS2CPacket.write
(PacketByteBuf buf) void
SignEditorOpenS2CPacket.write
(PacketByteBuf buf) void
SimulationDistanceS2CPacket.write
(PacketByteBuf buf) void
StatisticsS2CPacket.write
(PacketByteBuf buf) void
StopSoundS2CPacket.write
(PacketByteBuf buf) void
SubtitleS2CPacket.write
(PacketByteBuf buf) void
SynchronizeRecipesS2CPacket.write
(PacketByteBuf buf) void
SynchronizeTagsS2CPacket.write
(PacketByteBuf buf) void
TeamS2CPacket.SerializableTeam.write
(PacketByteBuf buf) void
TeamS2CPacket.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
VehicleMoveS2CPacket.write
(PacketByteBuf buf) void
VibrationS2CPacket.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
CommandTreeS2CPacket.writeNode
(PacketByteBuf buf, com.mojang.brigadier.tree.CommandNode<CommandSource> node, Map<com.mojang.brigadier.tree.CommandNode<CommandSource>, Integer> nodeToIndex) (package private) static void
PlayerListS2CPacket.writeOptionalText
(PacketByteBuf buf, @Nullable Text text) static <T extends Recipe<?>>
voidSynchronizeRecipesS2CPacket.writeRecipe
(PacketByteBuf buf, T recipe) static void
ChunkData.writeSections
(PacketByteBuf buf, WorldChunk chunk) ModifierConstructorDescriptionprivate
AddAction
(PacketByteBuf buf) private
ChunkData
(PacketByteBuf buf, int x, int z) CustomPayloadS2CPacket
(Identifier channel, PacketByteBuf data) LightData
(PacketByteBuf buf, int x, int y) private
private
private
private
ModifierConstructorDescriptionprivate
Type
(Function<PacketByteBuf, BossBarS2CPacket.Action> parser) -
Uses of PacketByteBuf in net.minecraft.network.packet.s2c.query
Modifier and TypeMethodDescriptionvoid
QueryPongS2CPacket.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 Vec3f
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
VibrationParticleEffect.write
(PacketByteBuf buf) -
Uses of PacketByteBuf in net.minecraft.recipe
Modifier and TypeMethodDescriptionstatic Ingredient
Ingredient.fromPacket
(PacketByteBuf buf) CookingRecipeSerializer.read
(Identifier identifier, PacketByteBuf packetByteBuf) CuttingRecipe.Serializer.read
(Identifier identifier, PacketByteBuf packetByteBuf) RecipeSerializer.read
(Identifier id, PacketByteBuf buf) Reads a recipe from a packet byte buf, usually on the client.ShapedRecipe.Serializer.read
(Identifier identifier, PacketByteBuf packetByteBuf) ShapelessRecipe.Serializer.read
(Identifier identifier, PacketByteBuf packetByteBuf) SmithingRecipe.Serializer.read
(Identifier identifier, PacketByteBuf packetByteBuf) SpecialRecipeSerializer.read
(Identifier id, PacketByteBuf buf) Reads a recipe from a packet byte buf, usually on the client.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
SmithingRecipe.Serializer.write
(PacketByteBuf packetByteBuf, SmithingRecipe smithingRecipe) void
SpecialRecipeSerializer.write
(PacketByteBuf buf, T recipe) Writes a recipe to a packet byte buf, usually on the server. -
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.server.network
Modifier and TypeMethodDescriptionprivate static void
DebugInfoSender.sendToAll
(ServerWorld world, PacketByteBuf buf, Identifier channel) private static void
DebugInfoSender.writeBrain
(LivingEntity entity, PacketByteBuf buf) -
Uses of PacketByteBuf in net.minecraft.tag
Modifier and TypeMethodDescriptionstatic TagGroup.Serialized
TagGroup.Serialized.fromBuf
(PacketByteBuf buf) void
TagGroup.Serialized.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
Modifier and TypeMethodDescriptionstatic Vibration
Vibration.readFromBuf
(PacketByteBuf buf) static void
Vibration.writeToBuf
(PacketByteBuf buf, Vibration vibration) -
Uses of PacketByteBuf in net.minecraft.world.chunk
Modifier and TypeMethodDescriptionvoid
ChunkSection.fromPacket
(PacketByteBuf buf) void
WorldChunk.loadFromPacket
(PacketByteBuf buf, NbtCompound nbt, Consumer<ChunkData.BlockEntityVisitor> consumer) 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
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)