Uses of Class
net.minecraft.network.PacketBuffer
Package
Description
-
Uses of PacketBuffer in net.minecraft.advancements
Modifier and TypeMethodDescriptionCriterion.criteriaFromNetwork
(PacketBuffer p_192142_0_) static Criterion
Criterion.criterionFromNetwork
(PacketBuffer p_192146_0_) static Advancement.Builder
Advancement.Builder.fromNetwork
(PacketBuffer p_192060_0_) static AdvancementProgress
AdvancementProgress.fromNetwork
(PacketBuffer p_192100_0_) static CriterionProgress
CriterionProgress.fromNetwork
(PacketBuffer p_192149_0_) static DisplayInfo
DisplayInfo.fromNetwork
(PacketBuffer p_192295_0_) void
Advancement.Builder.serializeToNetwork
(PacketBuffer p_192057_1_) void
AdvancementProgress.serializeToNetwork
(PacketBuffer p_192104_1_) static void
Criterion.serializeToNetwork
(Map<String, Criterion> p_192141_0_, PacketBuffer p_192141_1_) void
Criterion.serializeToNetwork
(PacketBuffer p_192140_1_) void
CriterionProgress.serializeToNetwork
(PacketBuffer p_192150_1_) void
DisplayInfo.serializeToNetwork
(PacketBuffer p_192290_1_) -
Uses of PacketBuffer in net.minecraft.client.multiplayer
Modifier and TypeMethodDescriptionClientChunkProvider.replaceWithPacketData
(int p_228313_1_, int p_228313_2_, BiomeContainer p_228313_3_, PacketBuffer p_228313_4_, CompoundNBT p_228313_5_, int p_228313_6_, boolean p_228313_7_) -
Uses of PacketBuffer in net.minecraft.command.arguments
Modifier and TypeMethodDescriptionstatic com.mojang.brigadier.arguments.ArgumentType<?>
ArgumentTypes.deserialize
(PacketBuffer p_197486_0_) ArgumentSerializer.deserializeFromNetwork
(PacketBuffer p_197071_1_) EntityArgument.Serializer.deserializeFromNetwork
(PacketBuffer p_197071_1_) IArgumentSerializer.deserializeFromNetwork
(PacketBuffer p_197071_1_) ScoreHolderArgument.Serializer.deserializeFromNetwork
(PacketBuffer p_197071_1_) static <T extends com.mojang.brigadier.arguments.ArgumentType<?>>
voidArgumentTypes.serialize
(PacketBuffer p_197484_0_, T p_197484_1_) void
ArgumentSerializer.serializeToNetwork
(T p_197072_1_, PacketBuffer p_197072_2_) void
EntityArgument.Serializer.serializeToNetwork
(EntityArgument p_197072_1_, PacketBuffer p_197072_2_) void
IArgumentSerializer.serializeToNetwork
(T p_197072_1_, PacketBuffer p_197072_2_) void
ScoreHolderArgument.Serializer.serializeToNetwork
(ScoreHolderArgument p_197072_1_, PacketBuffer p_197072_2_) -
Uses of PacketBuffer in net.minecraft.command.arguments.serializers
Modifier and TypeMethodDescriptioncom.mojang.brigadier.arguments.DoubleArgumentType
DoubleArgumentSerializer.deserializeFromNetwork
(PacketBuffer p_197071_1_) com.mojang.brigadier.arguments.FloatArgumentType
FloatArgumentSerializer.deserializeFromNetwork
(PacketBuffer p_197071_1_) com.mojang.brigadier.arguments.IntegerArgumentType
IntArgumentSerializer.deserializeFromNetwork
(PacketBuffer p_197071_1_) com.mojang.brigadier.arguments.LongArgumentType
LongArgumentSerializer.deserializeFromNetwork
(PacketBuffer p_197071_1_) com.mojang.brigadier.arguments.StringArgumentType
StringArgumentSerializer.deserializeFromNetwork
(PacketBuffer p_197071_1_) void
DoubleArgumentSerializer.serializeToNetwork
(com.mojang.brigadier.arguments.DoubleArgumentType p_197072_1_, PacketBuffer p_197072_2_) void
FloatArgumentSerializer.serializeToNetwork
(com.mojang.brigadier.arguments.FloatArgumentType p_197072_1_, PacketBuffer p_197072_2_) void
IntArgumentSerializer.serializeToNetwork
(com.mojang.brigadier.arguments.IntegerArgumentType p_197072_1_, PacketBuffer p_197072_2_) void
LongArgumentSerializer.serializeToNetwork
(com.mojang.brigadier.arguments.LongArgumentType p_197072_1_, PacketBuffer p_197072_2_) void
StringArgumentSerializer.serializeToNetwork
(com.mojang.brigadier.arguments.StringArgumentType p_197072_1_, PacketBuffer p_197072_2_) -
Uses of PacketBuffer in net.minecraft.inventory.container
Modifier and TypeMethodDescriptionContainerType.create
(int windowId, PlayerInventory playerInv, PacketBuffer extraData) -
Uses of PacketBuffer in net.minecraft.item
Modifier and TypeMethodDescriptionstatic MerchantOffers
MerchantOffers.createFromStream
(PacketBuffer p_222198_0_) void
MerchantOffers.writeToStream
(PacketBuffer p_222196_1_) -
Uses of PacketBuffer in net.minecraft.item.crafting
Modifier and TypeMethodDescriptionCookingRecipeSerializer.fromNetwork
(ResourceLocation p_199426_1_, PacketBuffer p_199426_2_) static Ingredient
Ingredient.fromNetwork
(PacketBuffer p_199566_0_) IRecipeSerializer.fromNetwork
(ResourceLocation p_199426_1_, PacketBuffer p_199426_2_) ShapedRecipe.Serializer.fromNetwork
(ResourceLocation p_199426_1_, PacketBuffer p_199426_2_) ShapelessRecipe.Serializer.fromNetwork
(ResourceLocation p_199426_1_, PacketBuffer p_199426_2_) SingleItemRecipe.Serializer.fromNetwork
(ResourceLocation p_199426_1_, PacketBuffer p_199426_2_) SmithingRecipe.Serializer.fromNetwork
(ResourceLocation p_199426_1_, PacketBuffer p_199426_2_) SpecialRecipeSerializer.fromNetwork
(ResourceLocation p_199426_1_, PacketBuffer p_199426_2_) static RecipeBookStatus
RecipeBookStatus.read
(PacketBuffer p_242157_0_) void
CookingRecipeSerializer.toNetwork
(PacketBuffer p_199427_1_, T p_199427_2_) final void
Ingredient.toNetwork
(PacketBuffer p_199564_1_) void
IRecipeSerializer.toNetwork
(PacketBuffer p_199427_1_, T p_199427_2_) void
ShapedRecipe.Serializer.toNetwork
(PacketBuffer p_199427_1_, ShapedRecipe p_199427_2_) void
ShapelessRecipe.Serializer.toNetwork
(PacketBuffer p_199427_1_, ShapelessRecipe p_199427_2_) void
SingleItemRecipe.Serializer.toNetwork
(PacketBuffer p_199427_1_, T p_199427_2_) void
SmithingRecipe.Serializer.toNetwork
(PacketBuffer p_199427_1_, SmithingRecipe p_199427_2_) void
SpecialRecipeSerializer.toNetwork
(PacketBuffer p_199427_1_, T p_199427_2_) void
RecipeBookStatus.write
(PacketBuffer p_242161_1_) -
Uses of PacketBuffer in net.minecraft.network
Modifier and TypeMethodDescriptionPacketBuffer.writeBlockPos
(BlockPos p_179255_1_) PacketBuffer.writeByteArray
(byte[] p_179250_1_) PacketBuffer.writeComponent
(ITextComponent p_179256_1_) PacketBuffer.writeItemStack
(ItemStack p_150788_1_, boolean limitedTag) Most ItemStack serialization is Server to Client,and doesn't need to know the FULL tag details.PacketBuffer.writeLongArray
(long[] p_186865_1_) PacketBuffer.writeNbt
(CompoundNBT p_150786_1_) PacketBuffer.writeResourceLocation
(ResourceLocation p_192572_1_) PacketBuffer.writeVarInt
(int p_150787_1_) PacketBuffer.writeVarIntArray
(int[] p_186875_1_) PacketBuffer.writeVarLong
(long p_179254_1_) Modifier and TypeMethodDescriptionvoid
IPacket.read
(PacketBuffer p_148837_1_) private static void
DebugPacketSender.sendPacketToAllPlayers
(ServerWorld p_229753_0_, PacketBuffer p_229753_1_, ResourceLocation p_229753_2_) void
IPacket.write
(PacketBuffer p_148840_1_) -
Uses of PacketBuffer in net.minecraft.network.datasync
Modifier and TypeMethodDescriptionprivate static <T> EntityDataManager.DataEntry<T>
EntityDataManager.genericHelper
(PacketBuffer p_198167_0_, int p_198167_1_, IDataSerializer<T> p_198167_2_) static void
EntityDataManager.pack
(List<EntityDataManager.DataEntry<?>> p_187229_0_, PacketBuffer p_187229_1_) IDataSerializer.read
(PacketBuffer p_187159_1_) static List<EntityDataManager.DataEntry<?>>
EntityDataManager.unpack
(PacketBuffer p_187215_0_) void
IDataSerializer.write
(PacketBuffer p_187160_1_, T p_187160_2_) private static <T> void
EntityDataManager.writeDataItem
(PacketBuffer p_187220_0_, EntityDataManager.DataEntry<T> p_187220_1_) -
Uses of PacketBuffer in net.minecraft.network.handshake.client
Modifier and TypeMethodDescriptionvoid
CHandshakePacket.read
(PacketBuffer p_148837_1_) void
CHandshakePacket.write
(PacketBuffer p_148840_1_) -
Uses of PacketBuffer in net.minecraft.network.login.client
Modifier and TypeMethodDescriptionvoid
CCustomPayloadLoginPacket.read
(PacketBuffer p_148837_1_) void
CEncryptionResponsePacket.read
(PacketBuffer p_148837_1_) void
CLoginStartPacket.read
(PacketBuffer p_148837_1_) void
CCustomPayloadLoginPacket.write
(PacketBuffer p_148840_1_) void
CEncryptionResponsePacket.write
(PacketBuffer p_148840_1_) void
CLoginStartPacket.write
(PacketBuffer p_148840_1_) ModifierConstructorDescriptionCCustomPayloadLoginPacket
(int p_i49516_1_, PacketBuffer p_i49516_2_) -
Uses of PacketBuffer in net.minecraft.network.login.server
Modifier and TypeMethodDescriptionvoid
SCustomPayloadLoginPacket.read
(PacketBuffer p_148837_1_) void
SDisconnectLoginPacket.read
(PacketBuffer p_148837_1_) void
SEnableCompressionPacket.read
(PacketBuffer p_148837_1_) void
SEncryptionRequestPacket.read
(PacketBuffer p_148837_1_) void
SLoginSuccessPacket.read
(PacketBuffer p_148837_1_) void
SCustomPayloadLoginPacket.write
(PacketBuffer p_148840_1_) void
SDisconnectLoginPacket.write
(PacketBuffer p_148840_1_) void
SEnableCompressionPacket.write
(PacketBuffer p_148840_1_) void
SEncryptionRequestPacket.write
(PacketBuffer p_148840_1_) void
SLoginSuccessPacket.write
(PacketBuffer p_148840_1_) -
Uses of PacketBuffer in net.minecraft.network.play.client
Modifier and TypeMethodDescriptionvoid
CAnimateHandPacket.read
(PacketBuffer p_148837_1_) void
CChatMessagePacket.read
(PacketBuffer p_148837_1_) void
CClickWindowPacket.read
(PacketBuffer p_148837_1_) void
CClientSettingsPacket.read
(PacketBuffer p_148837_1_) void
CClientStatusPacket.read
(PacketBuffer p_148837_1_) void
CCloseWindowPacket.read
(PacketBuffer p_148837_1_) void
CConfirmTeleportPacket.read
(PacketBuffer p_148837_1_) void
CConfirmTransactionPacket.read
(PacketBuffer p_148837_1_) void
CCreativeInventoryActionPacket.read
(PacketBuffer p_148837_1_) void
CCustomPayloadPacket.read
(PacketBuffer p_148837_1_) void
CEditBookPacket.read
(PacketBuffer p_148837_1_) void
CEnchantItemPacket.read
(PacketBuffer p_148837_1_) void
CEntityActionPacket.read
(PacketBuffer p_148837_1_) void
CHeldItemChangePacket.read
(PacketBuffer p_148837_1_) void
CInputPacket.read
(PacketBuffer p_148837_1_) void
CJigsawBlockGeneratePacket.read
(PacketBuffer p_148837_1_) void
CKeepAlivePacket.read
(PacketBuffer p_148837_1_) void
CLockDifficultyPacket.read
(PacketBuffer p_148837_1_) void
CMarkRecipeSeenPacket.read
(PacketBuffer p_148837_1_) void
CMoveVehiclePacket.read
(PacketBuffer p_148837_1_) void
CPickItemPacket.read
(PacketBuffer p_148837_1_) void
CPlaceRecipePacket.read
(PacketBuffer p_148837_1_) void
CPlayerAbilitiesPacket.read
(PacketBuffer p_148837_1_) void
CPlayerDiggingPacket.read
(PacketBuffer p_148837_1_) void
CPlayerPacket.PositionPacket.read
(PacketBuffer p_148837_1_) void
CPlayerPacket.PositionRotationPacket.read
(PacketBuffer p_148837_1_) void
CPlayerPacket.read
(PacketBuffer p_148837_1_) void
CPlayerPacket.RotationPacket.read
(PacketBuffer p_148837_1_) void
CPlayerTryUseItemOnBlockPacket.read
(PacketBuffer p_148837_1_) void
CPlayerTryUseItemPacket.read
(PacketBuffer p_148837_1_) void
CQueryEntityNBTPacket.read
(PacketBuffer p_148837_1_) void
CQueryTileEntityNBTPacket.read
(PacketBuffer p_148837_1_) void
CRenameItemPacket.read
(PacketBuffer p_148837_1_) void
CResourcePackStatusPacket.read
(PacketBuffer p_148837_1_) void
CSeenAdvancementsPacket.read
(PacketBuffer p_148837_1_) void
CSelectTradePacket.read
(PacketBuffer p_148837_1_) void
CSetDifficultyPacket.read
(PacketBuffer p_148837_1_) void
CSpectatePacket.read
(PacketBuffer p_148837_1_) void
CSteerBoatPacket.read
(PacketBuffer p_148837_1_) void
CTabCompletePacket.read
(PacketBuffer p_148837_1_) void
CUpdateBeaconPacket.read
(PacketBuffer p_148837_1_) void
CUpdateCommandBlockPacket.read
(PacketBuffer p_148837_1_) void
CUpdateJigsawBlockPacket.read
(PacketBuffer p_148837_1_) void
CUpdateMinecartCommandBlockPacket.read
(PacketBuffer p_148837_1_) void
CUpdateRecipeBookStatusPacket.read
(PacketBuffer p_148837_1_) void
CUpdateSignPacket.read
(PacketBuffer p_148837_1_) void
CUpdateStructureBlockPacket.read
(PacketBuffer p_148837_1_) void
CUseEntityPacket.read
(PacketBuffer p_148837_1_) void
CAnimateHandPacket.write
(PacketBuffer p_148840_1_) void
CChatMessagePacket.write
(PacketBuffer p_148840_1_) void
CClickWindowPacket.write
(PacketBuffer p_148840_1_) void
CClientSettingsPacket.write
(PacketBuffer p_148840_1_) void
CClientStatusPacket.write
(PacketBuffer p_148840_1_) void
CCloseWindowPacket.write
(PacketBuffer p_148840_1_) void
CConfirmTeleportPacket.write
(PacketBuffer p_148840_1_) void
CConfirmTransactionPacket.write
(PacketBuffer p_148840_1_) void
CCreativeInventoryActionPacket.write
(PacketBuffer p_148840_1_) void
CCustomPayloadPacket.write
(PacketBuffer p_148840_1_) void
CEditBookPacket.write
(PacketBuffer p_148840_1_) void
CEnchantItemPacket.write
(PacketBuffer p_148840_1_) void
CEntityActionPacket.write
(PacketBuffer p_148840_1_) void
CHeldItemChangePacket.write
(PacketBuffer p_148840_1_) void
CInputPacket.write
(PacketBuffer p_148840_1_) void
CJigsawBlockGeneratePacket.write
(PacketBuffer p_148840_1_) void
CKeepAlivePacket.write
(PacketBuffer p_148840_1_) void
CLockDifficultyPacket.write
(PacketBuffer p_148840_1_) void
CMarkRecipeSeenPacket.write
(PacketBuffer p_148840_1_) void
CMoveVehiclePacket.write
(PacketBuffer p_148840_1_) void
CPickItemPacket.write
(PacketBuffer p_148840_1_) void
CPlaceRecipePacket.write
(PacketBuffer p_148840_1_) void
CPlayerAbilitiesPacket.write
(PacketBuffer p_148840_1_) void
CPlayerDiggingPacket.write
(PacketBuffer p_148840_1_) void
CPlayerPacket.PositionPacket.write
(PacketBuffer p_148840_1_) void
CPlayerPacket.PositionRotationPacket.write
(PacketBuffer p_148840_1_) void
CPlayerPacket.RotationPacket.write
(PacketBuffer p_148840_1_) void
CPlayerPacket.write
(PacketBuffer p_148840_1_) void
CPlayerTryUseItemOnBlockPacket.write
(PacketBuffer p_148840_1_) void
CPlayerTryUseItemPacket.write
(PacketBuffer p_148840_1_) void
CQueryEntityNBTPacket.write
(PacketBuffer p_148840_1_) void
CQueryTileEntityNBTPacket.write
(PacketBuffer p_148840_1_) void
CRenameItemPacket.write
(PacketBuffer p_148840_1_) void
CResourcePackStatusPacket.write
(PacketBuffer p_148840_1_) void
CSeenAdvancementsPacket.write
(PacketBuffer p_148840_1_) void
CSelectTradePacket.write
(PacketBuffer p_148840_1_) void
CSetDifficultyPacket.write
(PacketBuffer p_148840_1_) void
CSpectatePacket.write
(PacketBuffer p_148840_1_) void
CSteerBoatPacket.write
(PacketBuffer p_148840_1_) void
CTabCompletePacket.write
(PacketBuffer p_148840_1_) void
CUpdateBeaconPacket.write
(PacketBuffer p_148840_1_) void
CUpdateCommandBlockPacket.write
(PacketBuffer p_148840_1_) void
CUpdateJigsawBlockPacket.write
(PacketBuffer p_148840_1_) void
CUpdateMinecartCommandBlockPacket.write
(PacketBuffer p_148840_1_) void
CUpdateRecipeBookStatusPacket.write
(PacketBuffer p_148840_1_) void
CUpdateSignPacket.write
(PacketBuffer p_148840_1_) void
CUpdateStructureBlockPacket.write
(PacketBuffer p_148840_1_) void
CUseEntityPacket.write
(PacketBuffer p_148840_1_) ModifierConstructorDescriptionCCustomPayloadPacket
(ResourceLocation p_i49549_1_, PacketBuffer p_i49549_2_) -
Uses of PacketBuffer in net.minecraft.network.play.server
Modifier and TypeMethodDescriptionSCustomPayloadPlayPacket.getData()
SChunkDataPacket.getReadBuffer()
Modifier and TypeMethodDescriptionprivate static com.mojang.brigadier.builder.ArgumentBuilder<ISuggestionProvider,
?> SCommandListPacket.createBuilder
(PacketBuffer p_197695_0_, byte p_197695_1_) int
SChunkDataPacket.extractChunkData
(PacketBuffer p_218708_1_, Chunk p_218708_2_, int p_218708_3_) static IRecipe<?>
SUpdateRecipesPacket.fromNetwork
(PacketBuffer p_218772_0_) void
SAdvancementInfoPacket.read
(PacketBuffer p_148837_1_) void
SAnimateBlockBreakPacket.read
(PacketBuffer p_148837_1_) void
SAnimateHandPacket.read
(PacketBuffer p_148837_1_) void
SBlockActionPacket.read
(PacketBuffer p_148837_1_) void
SCameraPacket.read
(PacketBuffer p_148837_1_) void
SChangeBlockPacket.read
(PacketBuffer p_148837_1_) void
SChangeGameStatePacket.read
(PacketBuffer p_148837_1_) void
SChatPacket.read
(PacketBuffer p_148837_1_) void
SChunkDataPacket.read
(PacketBuffer p_148837_1_) void
SCloseWindowPacket.read
(PacketBuffer p_148837_1_) void
SCollectItemPacket.read
(PacketBuffer p_148837_1_) void
SCombatPacket.read
(PacketBuffer p_148837_1_) void
SCommandListPacket.read
(PacketBuffer p_148837_1_) void
SConfirmTransactionPacket.read
(PacketBuffer p_148837_1_) void
SCooldownPacket.read
(PacketBuffer p_148837_1_) void
SCustomPayloadPlayPacket.read
(PacketBuffer p_148837_1_) void
SDestroyEntitiesPacket.read
(PacketBuffer p_148837_1_) void
SDisconnectPacket.read
(PacketBuffer p_148837_1_) void
SDisplayObjectivePacket.read
(PacketBuffer p_148837_1_) void
SEntityEquipmentPacket.read
(PacketBuffer p_148837_1_) void
SEntityHeadLookPacket.read
(PacketBuffer p_148837_1_) void
SEntityMetadataPacket.read
(PacketBuffer p_148837_1_) void
SEntityPacket.LookPacket.read
(PacketBuffer p_148837_1_) void
SEntityPacket.MovePacket.read
(PacketBuffer p_148837_1_) void
SEntityPacket.read
(PacketBuffer p_148837_1_) void
SEntityPacket.RelativeMovePacket.read
(PacketBuffer p_148837_1_) void
SEntityPropertiesPacket.read
(PacketBuffer p_148837_1_) void
SEntityStatusPacket.read
(PacketBuffer p_148837_1_) void
SEntityTeleportPacket.read
(PacketBuffer p_148837_1_) void
SEntityVelocityPacket.read
(PacketBuffer p_148837_1_) void
SExplosionPacket.read
(PacketBuffer p_148837_1_) void
SHeldItemChangePacket.read
(PacketBuffer p_148837_1_) void
SJoinGamePacket.read
(PacketBuffer p_148837_1_) void
SKeepAlivePacket.read
(PacketBuffer p_148837_1_) void
SMapDataPacket.read
(PacketBuffer p_148837_1_) void
SMerchantOffersPacket.read
(PacketBuffer p_148837_1_) void
SMountEntityPacket.read
(PacketBuffer p_148837_1_) void
SMoveVehiclePacket.read
(PacketBuffer p_148837_1_) void
SMultiBlockChangePacket.read
(PacketBuffer p_148837_1_) void
SOpenBookWindowPacket.read
(PacketBuffer p_148837_1_) void
SOpenHorseWindowPacket.read
(PacketBuffer p_148837_1_) void
SOpenSignMenuPacket.read
(PacketBuffer p_148837_1_) void
SOpenWindowPacket.read
(PacketBuffer p_148837_1_) void
SPlaceGhostRecipePacket.read
(PacketBuffer p_148837_1_) void
SPlayEntityEffectPacket.read
(PacketBuffer p_148837_1_) void
SPlayerAbilitiesPacket.read
(PacketBuffer p_148837_1_) void
SPlayerDiggingPacket.read
(PacketBuffer p_148837_1_) void
SPlayerListHeaderFooterPacket.read
(PacketBuffer p_148837_1_) void
SPlayerListItemPacket.read
(PacketBuffer p_148837_1_) void
SPlayerLookPacket.read
(PacketBuffer p_148837_1_) void
SPlayerPositionLookPacket.read
(PacketBuffer p_148837_1_) void
SPlaySoundEffectPacket.read
(PacketBuffer p_148837_1_) void
SPlaySoundEventPacket.read
(PacketBuffer p_148837_1_) void
SPlaySoundPacket.read
(PacketBuffer p_148837_1_) void
SQueryNBTResponsePacket.read
(PacketBuffer p_148837_1_) void
SRecipeBookPacket.read
(PacketBuffer p_148837_1_) void
SRemoveEntityEffectPacket.read
(PacketBuffer p_148837_1_) void
SRespawnPacket.read
(PacketBuffer p_148837_1_) void
SScoreboardObjectivePacket.read
(PacketBuffer p_148837_1_) void
SSelectAdvancementsTabPacket.read
(PacketBuffer p_148837_1_) void
SSendResourcePackPacket.read
(PacketBuffer p_148837_1_) void
SServerDifficultyPacket.read
(PacketBuffer p_148837_1_) void
SSetExperiencePacket.read
(PacketBuffer p_148837_1_) void
SSetPassengersPacket.read
(PacketBuffer p_148837_1_) void
SSetSlotPacket.read
(PacketBuffer p_148837_1_) void
SSpawnExperienceOrbPacket.read
(PacketBuffer p_148837_1_) void
SSpawnMobPacket.read
(PacketBuffer p_148837_1_) void
SSpawnMovingSoundEffectPacket.read
(PacketBuffer p_148837_1_) void
SSpawnObjectPacket.read
(PacketBuffer p_148837_1_) void
SSpawnPaintingPacket.read
(PacketBuffer p_148837_1_) void
SSpawnParticlePacket.read
(PacketBuffer p_148837_1_) void
SSpawnPlayerPacket.read
(PacketBuffer p_148837_1_) void
SStatisticsPacket.read
(PacketBuffer p_148837_1_) void
SStopSoundPacket.read
(PacketBuffer p_148837_1_) void
STabCompletePacket.read
(PacketBuffer p_148837_1_) void
STagsListPacket.read
(PacketBuffer p_148837_1_) void
STeamsPacket.read
(PacketBuffer p_148837_1_) void
STitlePacket.read
(PacketBuffer p_148837_1_) void
SUnloadChunkPacket.read
(PacketBuffer p_148837_1_) void
SUpdateBossInfoPacket.read
(PacketBuffer p_148837_1_) void
SUpdateChunkPositionPacket.read
(PacketBuffer p_148837_1_) void
SUpdateHealthPacket.read
(PacketBuffer p_148837_1_) void
SUpdateLightPacket.read
(PacketBuffer p_148837_1_) void
SUpdateRecipesPacket.read
(PacketBuffer p_148837_1_) void
SUpdateScorePacket.read
(PacketBuffer p_148837_1_) void
SUpdateTileEntityPacket.read
(PacketBuffer p_148837_1_) void
SUpdateTimePacket.read
(PacketBuffer p_148837_1_) void
SUpdateViewDistancePacket.read
(PacketBuffer p_148837_1_) void
SWindowItemsPacket.read
(PacketBuffer p_148837_1_) void
SWindowPropertyPacket.read
(PacketBuffer p_148837_1_) void
SWorldBorderPacket.read
(PacketBuffer p_148837_1_) void
SWorldSpawnChangedPacket.read
(PacketBuffer p_148837_1_) private static SCommandListPacket.Entry
SCommandListPacket.readNode
(PacketBuffer p_197692_0_) private <T extends IParticleData>
TSSpawnParticlePacket.readParticle
(PacketBuffer p_199855_1_, ParticleType<T> p_199855_2_) private <T> void
SStatisticsPacket.readStat
(StatType<T> p_197684_1_, PacketBuffer p_197684_2_) static <T extends IRecipe<?>>
voidSUpdateRecipesPacket.toNetwork
(T p_218771_0_, PacketBuffer p_218771_1_) void
SAdvancementInfoPacket.write
(PacketBuffer p_148840_1_) void
SAnimateBlockBreakPacket.write
(PacketBuffer p_148840_1_) void
SAnimateHandPacket.write
(PacketBuffer p_148840_1_) void
SBlockActionPacket.write
(PacketBuffer p_148840_1_) void
SCameraPacket.write
(PacketBuffer p_148840_1_) void
SChangeBlockPacket.write
(PacketBuffer p_148840_1_) void
SChangeGameStatePacket.write
(PacketBuffer p_148840_1_) void
SChatPacket.write
(PacketBuffer p_148840_1_) void
SChunkDataPacket.write
(PacketBuffer p_148840_1_) void
SCloseWindowPacket.write
(PacketBuffer p_148840_1_) void
SCollectItemPacket.write
(PacketBuffer p_148840_1_) void
SCombatPacket.write
(PacketBuffer p_148840_1_) void
SCommandListPacket.write
(PacketBuffer p_148840_1_) void
SConfirmTransactionPacket.write
(PacketBuffer p_148840_1_) void
SCooldownPacket.write
(PacketBuffer p_148840_1_) void
SCustomPayloadPlayPacket.write
(PacketBuffer p_148840_1_) void
SDestroyEntitiesPacket.write
(PacketBuffer p_148840_1_) void
SDisconnectPacket.write
(PacketBuffer p_148840_1_) void
SDisplayObjectivePacket.write
(PacketBuffer p_148840_1_) void
SEntityEquipmentPacket.write
(PacketBuffer p_148840_1_) void
SEntityHeadLookPacket.write
(PacketBuffer p_148840_1_) void
SEntityMetadataPacket.write
(PacketBuffer p_148840_1_) void
SEntityPacket.LookPacket.write
(PacketBuffer p_148840_1_) void
SEntityPacket.MovePacket.write
(PacketBuffer p_148840_1_) void
SEntityPacket.RelativeMovePacket.write
(PacketBuffer p_148840_1_) void
SEntityPacket.write
(PacketBuffer p_148840_1_) void
SEntityPropertiesPacket.write
(PacketBuffer p_148840_1_) void
SEntityStatusPacket.write
(PacketBuffer p_148840_1_) void
SEntityTeleportPacket.write
(PacketBuffer p_148840_1_) void
SEntityVelocityPacket.write
(PacketBuffer p_148840_1_) void
SExplosionPacket.write
(PacketBuffer p_148840_1_) void
SHeldItemChangePacket.write
(PacketBuffer p_148840_1_) void
SJoinGamePacket.write
(PacketBuffer p_148840_1_) void
SKeepAlivePacket.write
(PacketBuffer p_148840_1_) void
SMapDataPacket.write
(PacketBuffer p_148840_1_) void
SMerchantOffersPacket.write
(PacketBuffer p_148840_1_) void
SMountEntityPacket.write
(PacketBuffer p_148840_1_) void
SMoveVehiclePacket.write
(PacketBuffer p_148840_1_) void
SMultiBlockChangePacket.write
(PacketBuffer p_148840_1_) void
SOpenBookWindowPacket.write
(PacketBuffer p_148840_1_) void
SOpenHorseWindowPacket.write
(PacketBuffer p_148840_1_) void
SOpenSignMenuPacket.write
(PacketBuffer p_148840_1_) void
SOpenWindowPacket.write
(PacketBuffer p_148840_1_) void
SPlaceGhostRecipePacket.write
(PacketBuffer p_148840_1_) void
SPlayEntityEffectPacket.write
(PacketBuffer p_148840_1_) void
SPlayerAbilitiesPacket.write
(PacketBuffer p_148840_1_) void
SPlayerDiggingPacket.write
(PacketBuffer p_148840_1_) void
SPlayerListHeaderFooterPacket.write
(PacketBuffer p_148840_1_) void
SPlayerListItemPacket.write
(PacketBuffer p_148840_1_) void
SPlayerLookPacket.write
(PacketBuffer p_148840_1_) void
SPlayerPositionLookPacket.write
(PacketBuffer p_148840_1_) void
SPlaySoundEffectPacket.write
(PacketBuffer p_148840_1_) void
SPlaySoundEventPacket.write
(PacketBuffer p_148840_1_) void
SPlaySoundPacket.write
(PacketBuffer p_148840_1_) void
SQueryNBTResponsePacket.write
(PacketBuffer p_148840_1_) void
SRecipeBookPacket.write
(PacketBuffer p_148840_1_) void
SRemoveEntityEffectPacket.write
(PacketBuffer p_148840_1_) void
SRespawnPacket.write
(PacketBuffer p_148840_1_) void
SScoreboardObjectivePacket.write
(PacketBuffer p_148840_1_) void
SSelectAdvancementsTabPacket.write
(PacketBuffer p_148840_1_) void
SSendResourcePackPacket.write
(PacketBuffer p_148840_1_) void
SServerDifficultyPacket.write
(PacketBuffer p_148840_1_) void
SSetExperiencePacket.write
(PacketBuffer p_148840_1_) void
SSetPassengersPacket.write
(PacketBuffer p_148840_1_) void
SSetSlotPacket.write
(PacketBuffer p_148840_1_) void
SSpawnExperienceOrbPacket.write
(PacketBuffer p_148840_1_) void
SSpawnMobPacket.write
(PacketBuffer p_148840_1_) void
SSpawnMovingSoundEffectPacket.write
(PacketBuffer p_148840_1_) void
SSpawnObjectPacket.write
(PacketBuffer p_148840_1_) void
SSpawnPaintingPacket.write
(PacketBuffer p_148840_1_) void
SSpawnParticlePacket.write
(PacketBuffer p_148840_1_) void
SSpawnPlayerPacket.write
(PacketBuffer p_148840_1_) void
SStatisticsPacket.write
(PacketBuffer p_148840_1_) void
SStopSoundPacket.write
(PacketBuffer p_148840_1_) void
STabCompletePacket.write
(PacketBuffer p_148840_1_) void
STagsListPacket.write
(PacketBuffer p_148840_1_) void
STeamsPacket.write
(PacketBuffer p_148840_1_) void
STitlePacket.write
(PacketBuffer p_148840_1_) void
SUnloadChunkPacket.write
(PacketBuffer p_148840_1_) void
SUpdateBossInfoPacket.write
(PacketBuffer p_148840_1_) void
SUpdateChunkPositionPacket.write
(PacketBuffer p_148840_1_) void
SUpdateHealthPacket.write
(PacketBuffer p_148840_1_) void
SUpdateLightPacket.write
(PacketBuffer p_148840_1_) void
SUpdateRecipesPacket.write
(PacketBuffer p_148840_1_) void
SUpdateScorePacket.write
(PacketBuffer p_148840_1_) void
SUpdateTileEntityPacket.write
(PacketBuffer p_148840_1_) void
SUpdateTimePacket.write
(PacketBuffer p_148840_1_) void
SUpdateViewDistancePacket.write
(PacketBuffer p_148840_1_) void
SWindowItemsPacket.write
(PacketBuffer p_148840_1_) void
SWindowPropertyPacket.write
(PacketBuffer p_148840_1_) void
SWorldBorderPacket.write
(PacketBuffer p_148840_1_) void
SWorldSpawnChangedPacket.write
(PacketBuffer p_148840_1_) private static void
SCommandListPacket.writeNode
(PacketBuffer p_197696_0_, com.mojang.brigadier.tree.CommandNode<ISuggestionProvider> p_197696_1_, Map<com.mojang.brigadier.tree.CommandNode<ISuggestionProvider>, Integer> p_197696_2_) ModifierConstructorDescriptionSCustomPayloadPlayPacket
(ResourceLocation p_i49517_1_, PacketBuffer p_i49517_2_) -
Uses of PacketBuffer in net.minecraft.network.status.client
Modifier and TypeMethodDescriptionvoid
CPingPacket.read
(PacketBuffer p_148837_1_) void
CServerQueryPacket.read
(PacketBuffer p_148837_1_) void
CPingPacket.write
(PacketBuffer p_148840_1_) void
CServerQueryPacket.write
(PacketBuffer p_148840_1_) -
Uses of PacketBuffer in net.minecraft.network.status.server
Modifier and TypeMethodDescriptionvoid
SPongPacket.read
(PacketBuffer p_148837_1_) void
SServerInfoPacket.read
(PacketBuffer p_148837_1_) void
SPongPacket.write
(PacketBuffer p_148840_1_) void
SServerInfoPacket.write
(PacketBuffer p_148840_1_) -
Uses of PacketBuffer in net.minecraft.particles
Modifier and TypeMethodDescriptionIParticleData.IDeserializer.fromNetwork
(ParticleType<T> p_197543_1_, PacketBuffer p_197543_2_) Deprecated.void
BasicParticleType.writeToNetwork
(PacketBuffer p_197553_1_) void
BlockParticleData.writeToNetwork
(PacketBuffer p_197553_1_) void
IParticleData.writeToNetwork
(PacketBuffer p_197553_1_) void
ItemParticleData.writeToNetwork
(PacketBuffer p_197553_1_) void
RedstoneParticleData.writeToNetwork
(PacketBuffer p_197553_1_) -
Uses of PacketBuffer in net.minecraft.pathfinding
Modifier and TypeMethodDescriptionstatic FlaggedPathPoint
FlaggedPathPoint.createFromStream
(PacketBuffer p_224760_0_) static Path
Path.createFromStream
(PacketBuffer p_186311_0_) static PathPoint
PathPoint.createFromStream
(PacketBuffer p_186282_0_) -
Uses of PacketBuffer in net.minecraft.tags
Modifier and TypeMethodDescriptionstatic ITagCollectionSupplier
ITagCollectionSupplier.deserializeFromNetwork
(PacketBuffer p_242211_0_) static <T> ITagCollection<T>
ITagCollection.loadFromNetwork
(PacketBuffer p_242204_0_, Registry<T> p_242204_1_) default void
ITagCollection.serializeToNetwork
(PacketBuffer p_242203_1_, DefaultedRegistry<T> p_242203_2_) default void
ITagCollectionSupplier.serializeToNetwork
(PacketBuffer p_242210_1_) -
Uses of PacketBuffer in net.minecraft.util.palette
Modifier and TypeMethodDescriptionvoid
ArrayPalette.read
(PacketBuffer p_186038_1_) void
HashMapPalette.read
(PacketBuffer p_186038_1_) void
IdentityPalette.read
(PacketBuffer p_186038_1_) void
IPalette.read
(PacketBuffer p_186038_1_) void
PalettedContainer.read
(PacketBuffer p_186010_1_) void
ArrayPalette.write
(PacketBuffer p_186037_1_) void
HashMapPalette.write
(PacketBuffer p_186037_1_) void
IdentityPalette.write
(PacketBuffer p_186037_1_) void
IPalette.write
(PacketBuffer p_186037_1_) void
PalettedContainer.write
(PacketBuffer p_186009_1_) -
Uses of PacketBuffer in net.minecraft.world.chunk
Modifier and TypeMethodDescriptionvoid
ChunkSection.read
(PacketBuffer p_222634_1_) void
Chunk.replaceWithPacketData
(BiomeContainer p_227073_1_, PacketBuffer p_227073_2_, CompoundNBT p_227073_3_, int p_227073_4_) void
ChunkSection.write
(PacketBuffer p_222630_1_) -
Uses of PacketBuffer in net.minecraftforge.common.crafting
Modifier and TypeMethodDescriptionConditionalRecipe.Serializer.fromNetwork
(ResourceLocation recipeId, PacketBuffer buffer) static Ingredient
CraftingHelper.getIngredient
(ResourceLocation type, PacketBuffer buffer) CompoundIngredient.Serializer.parse
(PacketBuffer buffer) IIngredientSerializer.parse
(PacketBuffer buffer) NBTIngredient.Serializer.parse
(PacketBuffer buffer) VanillaIngredientSerializer.parse
(PacketBuffer buffer) void
ConditionalRecipe.Serializer.toNetwork
(PacketBuffer buffer, T recipe) void
CompoundIngredient.Serializer.write
(PacketBuffer buffer, CompoundIngredient ingredient) static <T extends Ingredient>
voidCraftingHelper.write
(PacketBuffer buffer, T ingredient) void
IIngredientSerializer.write
(PacketBuffer buffer, T ingredient) void
NBTIngredient.Serializer.write
(PacketBuffer buffer, NBTIngredient ingredient) void
VanillaIngredientSerializer.write
(PacketBuffer buffer, Ingredient ingredient) -
Uses of PacketBuffer in net.minecraftforge.common.extensions
Modifier and TypeMethodDescriptionIForgeContainerType.create
(int windowId, PlayerInventory playerInv, PacketBuffer extraData) -
Uses of PacketBuffer in net.minecraftforge.debug.misc
ModifierConstructorDescriptionprotected
TestContainer
(int windowId, PlayerInventory playerInv, PacketBuffer extraData) -
Uses of PacketBuffer in net.minecraftforge.fluids
Modifier and TypeMethodDescriptionstatic FluidStack
FluidStack.readFromPacket
(PacketBuffer buf) void
FluidStack.writeToPacket
(PacketBuffer buf) -
Uses of PacketBuffer in net.minecraftforge.fml.common.registry
Modifier and TypeMethodDescriptionvoid
IEntityAdditionalSpawnData.readSpawnData
(PacketBuffer additionalData) Called by the client when it receives a Entity spawn packet.void
IEntityAdditionalSpawnData.writeSpawnData
(PacketBuffer buffer) Called by the server when constructing the spawn packet. -
Uses of PacketBuffer in net.minecraftforge.fml.network
Modifier and TypeFieldDescriptionprivate final PacketBuffer
FMLPlayMessages.OpenContainer.additionalData
private final PacketBuffer
FMLPlayMessages.SpawnEntity.buf
private final PacketBuffer
NetworkRegistry.LoginPayload.data
The data for sendingprivate final PacketBuffer
NetworkEvent.payload
Modifier and TypeFieldDescriptionprivate final BiFunction<org.apache.commons.lang3.tuple.Pair<PacketBuffer,
Integer>, ResourceLocation, ICustomPacket<?>> PacketDispatcher.NetworkManagerDispatcher.customPacketSupplier
(package private) BiConsumer<ResourceLocation,
PacketBuffer> PacketDispatcher.packetSink
Modifier and TypeMethodDescriptionFMLPlayMessages.OpenContainer.getAdditionalData()
FMLPlayMessages.SpawnEntity.getAdditionalData()
NetworkRegistry.LoginPayload.getData()
default PacketBuffer
ICustomPacket.getInternalData()
NetworkEvent.getPayload()
private PacketBuffer
FMLLoginWrapper.wrapPacket
(ResourceLocation rl, PacketBuffer buf) Modifier and TypeMethodDescriptionvoid
NetworkEvent.GatherLoginPayloadsEvent.add
(PacketBuffer buffer, ResourceLocation channelName, String context) IContainerFactory.create
(int windowId, PlayerInventory inv, PacketBuffer data) FMLHandshakeMessages.C2SAcknowledge.decode
(PacketBuffer buf) FMLHandshakeMessages.C2SModListReply.decode
(PacketBuffer input) FMLHandshakeMessages.S2CConfigData.decode
(PacketBuffer buffer) FMLHandshakeMessages.S2CModList.decode
(PacketBuffer input) FMLHandshakeMessages.S2CRegistry.decode
(PacketBuffer buffer) FMLPlayMessages.OpenContainer.decode
(PacketBuffer buf) static FMLPlayMessages.SpawnEntity
FMLPlayMessages.SpawnEntity.decode
(PacketBuffer buf) FMLPlayMessages.SyncCustomTagTypes.decode
(PacketBuffer buf) private void
PacketDispatcher.NetworkManagerDispatcher.dispatchPacket
(ResourceLocation resourceLocation, PacketBuffer buffer) void
FMLHandshakeMessages.C2SAcknowledge.encode
(PacketBuffer buf) void
FMLHandshakeMessages.C2SModListReply.encode
(PacketBuffer output) (package private) void
FMLHandshakeMessages.S2CConfigData.encode
(PacketBuffer buffer) void
FMLHandshakeMessages.S2CModList.encode
(PacketBuffer output) (package private) void
FMLHandshakeMessages.S2CRegistry.encode
(PacketBuffer buffer) static void
FMLPlayMessages.OpenContainer.encode
(FMLPlayMessages.OpenContainer msg, PacketBuffer buf) static void
FMLPlayMessages.SpawnEntity.encode
(FMLPlayMessages.SpawnEntity msg, PacketBuffer buf) static void
FMLPlayMessages.SyncCustomTagTypes.encode
(FMLPlayMessages.SyncCustomTagTypes msg, PacketBuffer buf) private static <T> void
FMLPlayMessages.SyncCustomTagTypes.forgeTagCollectionWrite
(PacketBuffer buf, ResourceLocation registryName, Map<ResourceLocation, ITag<T>> tags) private static <T extends IForgeRegistryEntry<T>>
ITagCollection<T>FMLPlayMessages.SyncCustomTagTypes.readTagCollection
(PacketBuffer buf, IForgeRegistry<T> registry) void
PacketDispatcher.sendPacket
(ResourceLocation resourceLocation, PacketBuffer buffer) (package private) void
FMLLoginWrapper.sendServerToClientLoginPacket
(ResourceLocation resourceLocation, PacketBuffer buffer, int index, NetworkManager manager) default void
ICustomPacket.setData
(PacketBuffer buffer) void
FMLMCRegisterPacketHandler.ChannelList.updateFrom
(Supplier<NetworkEvent.Context> source, PacketBuffer buffer, NetworkEvent.RegistrationChangeType changeType) private PacketBuffer
FMLLoginWrapper.wrapPacket
(ResourceLocation rl, PacketBuffer buf) Modifier and TypeMethodDescription<T extends IPacket<?>>
ICustomPacket<T>NetworkDirection.buildPacket
(org.apache.commons.lang3.tuple.Pair<PacketBuffer, Integer> packetData, ResourceLocation channelName) static void
NetworkHooks.openGui
(ServerPlayerEntity player, INamedContainerProvider containerSupplier, Consumer<PacketBuffer> extraDataWriter) Request to open a GUI on the client, from the server Refer tonet.minecraftforge.fml.ExtensionPoint#GUIFACTORY
for how to provide a function to consume these GUI requests on the client.ModifierConstructorDescriptionLoginPayload
(PacketBuffer buffer, ResourceLocation channelName, String messageContext) (package private)
LoginPayloadEvent
(PacketBuffer payload, Supplier<NetworkEvent.Context> source, int loginIndex) private
NetworkEvent
(PacketBuffer payload, Supplier<NetworkEvent.Context> source, int loginIndex) private
OpenContainer
(int id, int windowId, ITextComponent name, PacketBuffer additionalData) (package private)
OpenContainer
(ContainerType<?> id, int windowId, ITextComponent name, PacketBuffer additionalData) private
SpawnEntity
(int typeId, int entityId, UUID uuid, double posX, double posY, double posZ, byte pitch, byte yaw, byte headYaw, int velX, int velY, int velZ, PacketBuffer buf) ModifierConstructorDescription(package private)
NetworkManagerDispatcher
(NetworkManager manager, int packetIndex, BiFunction<org.apache.commons.lang3.tuple.Pair<PacketBuffer, Integer>, ResourceLocation, ICustomPacket<?>> customPacketSupplier) (package private)
PacketDispatcher
(BiConsumer<ResourceLocation, PacketBuffer> packetSink) -
Uses of PacketBuffer in net.minecraftforge.fml.network.simple
Modifier and TypeFieldDescriptionprivate final Optional<Function<PacketBuffer,
MSG>> IndexedMessageCodec.MessageHandler.decoder
private Function<PacketBuffer,
MSG> SimpleChannel.MessageBuilder.decoder
private final Optional<BiConsumer<MSG,
PacketBuffer>> IndexedMessageCodec.MessageHandler.encoder
private BiConsumer<MSG,
PacketBuffer> SimpleChannel.MessageBuilder.encoder
Modifier and TypeMethodDescriptionprivate <MSG> org.apache.commons.lang3.tuple.Pair<PacketBuffer,
Integer> SimpleChannel.toBuffer
(MSG msg) Modifier and TypeMethodDescription<MSG> int
IndexedMessageCodec.build
(MSG message, PacketBuffer target) (package private) void
IndexedMessageCodec.consume
(PacketBuffer payload, int payloadIndex, Supplier<NetworkEvent.Context> context) <MSG> int
SimpleChannel.encodeMessage
(MSG message, PacketBuffer target) private static <M> void
IndexedMessageCodec.tryDecode
(PacketBuffer payload, Supplier<NetworkEvent.Context> context, int payloadIndex, IndexedMessageCodec.MessageHandler<M> codec) private static <M> int
IndexedMessageCodec.tryEncode
(PacketBuffer target, M message, IndexedMessageCodec.MessageHandler<M> codec) Modifier and TypeMethodDescription(package private) <MSG> IndexedMessageCodec.MessageHandler<MSG>
IndexedMessageCodec.addCodecIndex
(int index, Class<MSG> messageType, BiConsumer<MSG, PacketBuffer> encoder, Function<PacketBuffer, MSG> decoder, BiConsumer<MSG, Supplier<NetworkEvent.Context>> messageConsumer, Optional<NetworkDirection> networkDirection) (package private) <MSG> IndexedMessageCodec.MessageHandler<MSG>
IndexedMessageCodec.addCodecIndex
(int index, Class<MSG> messageType, BiConsumer<MSG, PacketBuffer> encoder, Function<PacketBuffer, MSG> decoder, BiConsumer<MSG, Supplier<NetworkEvent.Context>> messageConsumer, Optional<NetworkDirection> networkDirection) SimpleChannel.MessageBuilder.decoder
(Function<PacketBuffer, MSG> decoder) SimpleChannel.MessageBuilder.encoder
(BiConsumer<MSG, PacketBuffer> encoder) <MSG> IndexedMessageCodec.MessageHandler<MSG>
SimpleChannel.registerMessage
(int index, Class<MSG> messageType, BiConsumer<MSG, PacketBuffer> encoder, Function<PacketBuffer, MSG> decoder, BiConsumer<MSG, Supplier<NetworkEvent.Context>> messageConsumer) <MSG> IndexedMessageCodec.MessageHandler<MSG>
SimpleChannel.registerMessage
(int index, Class<MSG> messageType, BiConsumer<MSG, PacketBuffer> encoder, Function<PacketBuffer, MSG> decoder, BiConsumer<MSG, Supplier<NetworkEvent.Context>> messageConsumer) <MSG> IndexedMessageCodec.MessageHandler<MSG>
SimpleChannel.registerMessage
(int index, Class<MSG> messageType, BiConsumer<MSG, PacketBuffer> encoder, Function<PacketBuffer, MSG> decoder, BiConsumer<MSG, Supplier<NetworkEvent.Context>> messageConsumer, Optional<NetworkDirection> networkDirection) <MSG> IndexedMessageCodec.MessageHandler<MSG>
SimpleChannel.registerMessage
(int index, Class<MSG> messageType, BiConsumer<MSG, PacketBuffer> encoder, Function<PacketBuffer, MSG> decoder, BiConsumer<MSG, Supplier<NetworkEvent.Context>> messageConsumer, Optional<NetworkDirection> networkDirection) ModifierConstructorDescriptionMessageHandler
(int index, Class<MSG> messageType, BiConsumer<MSG, PacketBuffer> encoder, Function<PacketBuffer, MSG> decoder, BiConsumer<MSG, Supplier<NetworkEvent.Context>> messageConsumer, Optional<NetworkDirection> networkDirection) MessageHandler
(int index, Class<MSG> messageType, BiConsumer<MSG, PacketBuffer> encoder, Function<PacketBuffer, MSG> decoder, BiConsumer<MSG, Supplier<NetworkEvent.Context>> messageConsumer, Optional<NetworkDirection> networkDirection) -
Uses of PacketBuffer in net.minecraftforge.network
Modifier and TypeFieldDescriptionprivate static final List<PacketBuffer>
VanillaPacketSplitter.receivedBuffers
-
Uses of PacketBuffer in net.minecraftforge.registries
Modifier and TypeMethodDescriptionstatic ForgeRegistry.Snapshot
ForgeRegistry.Snapshot.read
(PacketBuffer buff) -
Uses of PacketBuffer in net.minecraftforge.server.command
Modifier and TypeMethodDescriptionEnumArgument<?>
EnumArgument.Serializer.deserializeFromNetwork
(PacketBuffer buffer) void
EnumArgument.Serializer.serializeToNetwork
(EnumArgument<?> argument, PacketBuffer buffer)