Uses of Class
net.minecraft.network.PacketBuffer
-
-
Uses of PacketBuffer in net.minecraft.advancements
Methods in net.minecraft.advancements with parameters of type PacketBuffer Modifier and Type Method Description static java.util.Map<java.lang.String,Criterion>
Criterion. 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(java.util.Map<java.lang.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
Methods in net.minecraft.client.multiplayer with parameters of type PacketBuffer Modifier and Type Method Description Chunk
ClientChunkProvider. 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
Methods in net.minecraft.command.arguments with parameters of type PacketBuffer Modifier and Type Method Description static com.mojang.brigadier.arguments.ArgumentType<?>
ArgumentTypes. deserialize(PacketBuffer p_197486_0_)
T
ArgumentSerializer. deserializeFromNetwork(PacketBuffer p_197071_1_)
EntityArgument
EntityArgument.Serializer. deserializeFromNetwork(PacketBuffer p_197071_1_)
T
IArgumentSerializer. deserializeFromNetwork(PacketBuffer p_197071_1_)
ScoreHolderArgument
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
Methods in net.minecraft.command.arguments.serializers with parameters of type PacketBuffer Modifier and Type Method Description com.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
Methods in net.minecraft.inventory.container with parameters of type PacketBuffer Modifier and Type Method Description T
ContainerType. create(int windowId, PlayerInventory playerInv, PacketBuffer extraData)
-
Uses of PacketBuffer in net.minecraft.item
Methods in net.minecraft.item with parameters of type PacketBuffer Modifier and Type Method Description static MerchantOffers
MerchantOffers. createFromStream(PacketBuffer p_222198_0_)
void
MerchantOffers. writeToStream(PacketBuffer p_222196_1_)
-
Uses of PacketBuffer in net.minecraft.item.crafting
Methods in net.minecraft.item.crafting with parameters of type PacketBuffer Modifier and Type Method Description T
CookingRecipeSerializer. fromNetwork(ResourceLocation p_199426_1_, PacketBuffer p_199426_2_)
static Ingredient
Ingredient. fromNetwork(PacketBuffer p_199566_0_)
T
IRecipeSerializer. fromNetwork(ResourceLocation p_199426_1_, PacketBuffer p_199426_2_)
ShapedRecipe
ShapedRecipe.Serializer. fromNetwork(ResourceLocation p_199426_1_, PacketBuffer p_199426_2_)
ShapelessRecipe
ShapelessRecipe.Serializer. fromNetwork(ResourceLocation p_199426_1_, PacketBuffer p_199426_2_)
T
SingleItemRecipe.Serializer. fromNetwork(ResourceLocation p_199426_1_, PacketBuffer p_199426_2_)
SmithingRecipe
SmithingRecipe.Serializer. fromNetwork(ResourceLocation p_199426_1_, PacketBuffer p_199426_2_)
T
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_)
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
Methods in net.minecraft.network that return PacketBuffer Modifier and Type Method Description PacketBuffer
PacketBuffer. writeBlockPos(BlockPos p_179255_1_)
PacketBuffer
PacketBuffer. writeByteArray(byte[] p_179250_1_)
PacketBuffer
PacketBuffer. writeComponent(ITextComponent p_179256_1_)
PacketBuffer
PacketBuffer. writeDate(java.util.Date p_192574_1_)
PacketBuffer
PacketBuffer. writeEnum(java.lang.Enum<?> p_179249_1_)
PacketBuffer
PacketBuffer. writeItem(ItemStack p_150788_1_)
PacketBuffer
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
PacketBuffer. writeLongArray(long[] p_186865_1_)
PacketBuffer
PacketBuffer. writeNbt(CompoundNBT p_150786_1_)
PacketBuffer
PacketBuffer. writeResourceLocation(ResourceLocation p_192572_1_)
PacketBuffer
PacketBuffer. writeUtf(java.lang.String p_180714_1_)
PacketBuffer
PacketBuffer. writeUtf(java.lang.String p_211400_1_, int p_211400_2_)
PacketBuffer
PacketBuffer. writeUUID(java.util.UUID p_179252_1_)
PacketBuffer
PacketBuffer. writeVarInt(int p_150787_1_)
PacketBuffer
PacketBuffer. writeVarIntArray(int[] p_186875_1_)
PacketBuffer
PacketBuffer. writeVarLong(long p_179254_1_)
Methods in net.minecraft.network with parameters of type PacketBuffer Modifier and Type Method Description void
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
Methods in net.minecraft.network.datasync with parameters of type PacketBuffer Modifier and Type Method Description private static <T> EntityDataManager.DataEntry<T>
EntityDataManager. genericHelper(PacketBuffer p_198167_0_, int p_198167_1_, IDataSerializer<T> p_198167_2_)
static void
EntityDataManager. pack(java.util.List<EntityDataManager.DataEntry<?>> p_187229_0_, PacketBuffer p_187229_1_)
T
IDataSerializer. read(PacketBuffer p_187159_1_)
static java.util.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
Methods in net.minecraft.network.handshake.client with parameters of type PacketBuffer Modifier and Type Method Description void
CHandshakePacket. read(PacketBuffer p_148837_1_)
void
CHandshakePacket. write(PacketBuffer p_148840_1_)
-
Uses of PacketBuffer in net.minecraft.network.login.client
Fields in net.minecraft.network.login.client declared as PacketBuffer Modifier and Type Field Description private PacketBuffer
CCustomPayloadLoginPacket. data
Methods in net.minecraft.network.login.client with parameters of type PacketBuffer Modifier and Type Method Description void
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_)
Constructors in net.minecraft.network.login.client with parameters of type PacketBuffer Constructor Description CCustomPayloadLoginPacket(int p_i49516_1_, PacketBuffer p_i49516_2_)
-
Uses of PacketBuffer in net.minecraft.network.login.server
Fields in net.minecraft.network.login.server declared as PacketBuffer Modifier and Type Field Description private PacketBuffer
SCustomPayloadLoginPacket. data
Methods in net.minecraft.network.login.server with parameters of type PacketBuffer Modifier and Type Method Description void
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
Fields in net.minecraft.network.play.client declared as PacketBuffer Modifier and Type Field Description private PacketBuffer
CCustomPayloadPacket. data
Methods in net.minecraft.network.play.client with parameters of type PacketBuffer Modifier and Type Method Description void
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_)
Constructors in net.minecraft.network.play.client with parameters of type PacketBuffer Constructor Description CCustomPayloadPacket(ResourceLocation p_i49549_1_, PacketBuffer p_i49549_2_)
-
Uses of PacketBuffer in net.minecraft.network.play.server
Fields in net.minecraft.network.play.server declared as PacketBuffer Modifier and Type Field Description private PacketBuffer
SCustomPayloadPlayPacket. data
Methods in net.minecraft.network.play.server that return PacketBuffer Modifier and Type Method Description PacketBuffer
SCustomPayloadPlayPacket. getData()
PacketBuffer
SChunkDataPacket. getReadBuffer()
Methods in net.minecraft.network.play.server with parameters of type PacketBuffer Modifier and Type Method Description private 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_, java.util.Map<com.mojang.brigadier.tree.CommandNode<ISuggestionProvider>,java.lang.Integer> p_197696_2_)
Constructors in net.minecraft.network.play.server with parameters of type PacketBuffer Constructor Description SCustomPayloadPlayPacket(ResourceLocation p_i49517_1_, PacketBuffer p_i49517_2_)
-
Uses of PacketBuffer in net.minecraft.network.status.client
Methods in net.minecraft.network.status.client with parameters of type PacketBuffer Modifier and Type Method Description void
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
Methods in net.minecraft.network.status.server with parameters of type PacketBuffer Modifier and Type Method Description void
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
Methods in net.minecraft.particles with parameters of type PacketBuffer Modifier and Type Method Description T
IParticleData.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
Methods in net.minecraft.pathfinding with parameters of type PacketBuffer Modifier and Type Method Description static 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
Methods in net.minecraft.tags with parameters of type PacketBuffer Modifier and Type Method Description static 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
Methods in net.minecraft.util.palette with parameters of type PacketBuffer Modifier and Type Method Description void
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
Methods in net.minecraft.world.chunk with parameters of type PacketBuffer Modifier and Type Method Description void
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
Methods in net.minecraftforge.common.crafting with parameters of type PacketBuffer Modifier and Type Method Description T
ConditionalRecipe.Serializer. fromNetwork(ResourceLocation recipeId, PacketBuffer buffer)
static Ingredient
CraftingHelper. getIngredient(ResourceLocation type, PacketBuffer buffer)
CompoundIngredient
CompoundIngredient.Serializer. parse(PacketBuffer buffer)
T
IIngredientSerializer. parse(PacketBuffer buffer)
NBTIngredient
NBTIngredient.Serializer. parse(PacketBuffer buffer)
Ingredient
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
Methods in net.minecraftforge.common.extensions that return PacketBuffer Modifier and Type Method Description default PacketBuffer
IForgePacketBuffer. getBuffer()
Methods in net.minecraftforge.common.extensions with parameters of type PacketBuffer Modifier and Type Method Description T
IForgeContainerType. create(int windowId, PlayerInventory playerInv, PacketBuffer extraData)
-
Uses of PacketBuffer in net.minecraftforge.debug.misc
Constructors in net.minecraftforge.debug.misc with parameters of type PacketBuffer Constructor Description TestContainer(int windowId, PlayerInventory playerInv, PacketBuffer extraData)
-
Uses of PacketBuffer in net.minecraftforge.fluids
Methods in net.minecraftforge.fluids with parameters of type PacketBuffer Modifier and Type Method Description static FluidStack
FluidStack. readFromPacket(PacketBuffer buf)
void
FluidStack. writeToPacket(PacketBuffer buf)
-
Uses of PacketBuffer in net.minecraftforge.fml.common.registry
Methods in net.minecraftforge.fml.common.registry with parameters of type PacketBuffer Modifier and Type Method Description void
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
Fields in net.minecraftforge.fml.network declared as PacketBuffer Modifier and Type Field Description private PacketBuffer
FMLPlayMessages.OpenContainer. additionalData
private PacketBuffer
FMLPlayMessages.SpawnEntity. buf
private PacketBuffer
NetworkRegistry.LoginPayload. data
The data for sendingprivate PacketBuffer
NetworkEvent. payload
Fields in net.minecraftforge.fml.network with type parameters of type PacketBuffer Modifier and Type Field Description private java.util.function.BiFunction<org.apache.commons.lang3.tuple.Pair<PacketBuffer,java.lang.Integer>,ResourceLocation,ICustomPacket<?>>
PacketDispatcher.NetworkManagerDispatcher. customPacketSupplier
(package private) java.util.function.BiConsumer<ResourceLocation,PacketBuffer>
PacketDispatcher. packetSink
Methods in net.minecraftforge.fml.network that return PacketBuffer Modifier and Type Method Description PacketBuffer
FMLPlayMessages.OpenContainer. getAdditionalData()
PacketBuffer
FMLPlayMessages.SpawnEntity. getAdditionalData()
PacketBuffer
NetworkRegistry.LoginPayload. getData()
default PacketBuffer
ICustomPacket. getInternalData()
PacketBuffer
NetworkEvent. getPayload()
private PacketBuffer
FMLLoginWrapper. wrapPacket(ResourceLocation rl, PacketBuffer buf)
Methods in net.minecraftforge.fml.network with parameters of type PacketBuffer Modifier and Type Method Description void
NetworkEvent.GatherLoginPayloadsEvent. add(PacketBuffer buffer, ResourceLocation channelName, java.lang.String context)
T
IContainerFactory. create(int windowId, PlayerInventory inv, PacketBuffer data)
static FMLHandshakeMessages.C2SAcknowledge
FMLHandshakeMessages.C2SAcknowledge. decode(PacketBuffer buf)
static FMLHandshakeMessages.C2SModListReply
FMLHandshakeMessages.C2SModListReply. decode(PacketBuffer input)
static FMLHandshakeMessages.S2CConfigData
FMLHandshakeMessages.S2CConfigData. decode(PacketBuffer buffer)
static FMLHandshakeMessages.S2CModList
FMLHandshakeMessages.S2CModList. decode(PacketBuffer input)
static FMLHandshakeMessages.S2CRegistry
FMLHandshakeMessages.S2CRegistry. decode(PacketBuffer buffer)
static FMLPlayMessages.OpenContainer
FMLPlayMessages.OpenContainer. decode(PacketBuffer buf)
static FMLPlayMessages.SpawnEntity
FMLPlayMessages.SpawnEntity. decode(PacketBuffer buf)
static FMLPlayMessages.SyncCustomTagTypes
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, java.util.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(java.util.function.Supplier<NetworkEvent.Context> source, PacketBuffer buffer, NetworkEvent.RegistrationChangeType changeType)
private PacketBuffer
FMLLoginWrapper. wrapPacket(ResourceLocation rl, PacketBuffer buf)
Method parameters in net.minecraftforge.fml.network with type arguments of type PacketBuffer Modifier and Type Method Description <T extends IPacket<?>>
ICustomPacket<T>NetworkDirection. buildPacket(org.apache.commons.lang3.tuple.Pair<PacketBuffer,java.lang.Integer> packetData, ResourceLocation channelName)
static void
NetworkHooks. openGui(ServerPlayerEntity player, INamedContainerProvider containerSupplier, java.util.function.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.Constructors in net.minecraftforge.fml.network with parameters of type PacketBuffer Constructor Description LoginPayload(PacketBuffer buffer, ResourceLocation channelName, java.lang.String messageContext)
LoginPayloadEvent(PacketBuffer payload, java.util.function.Supplier<NetworkEvent.Context> source, int loginIndex)
NetworkEvent(PacketBuffer payload, java.util.function.Supplier<NetworkEvent.Context> source, int loginIndex)
OpenContainer(int id, int windowId, ITextComponent name, PacketBuffer additionalData)
OpenContainer(ContainerType<?> id, int windowId, ITextComponent name, PacketBuffer additionalData)
SpawnEntity(int typeId, int entityId, java.util.UUID uuid, double posX, double posY, double posZ, byte pitch, byte yaw, byte headYaw, int velX, int velY, int velZ, PacketBuffer buf)
Constructor parameters in net.minecraftforge.fml.network with type arguments of type PacketBuffer Constructor Description NetworkManagerDispatcher(NetworkManager manager, int packetIndex, java.util.function.BiFunction<org.apache.commons.lang3.tuple.Pair<PacketBuffer,java.lang.Integer>,ResourceLocation,ICustomPacket<?>> customPacketSupplier)
PacketDispatcher(java.util.function.BiConsumer<ResourceLocation,PacketBuffer> packetSink)
-
Uses of PacketBuffer in net.minecraftforge.fml.network.simple
Fields in net.minecraftforge.fml.network.simple with type parameters of type PacketBuffer Modifier and Type Field Description private java.util.Optional<java.util.function.Function<PacketBuffer,MSG>>
IndexedMessageCodec.MessageHandler. decoder
private java.util.function.Function<PacketBuffer,MSG>
SimpleChannel.MessageBuilder. decoder
private java.util.Optional<java.util.function.BiConsumer<MSG,PacketBuffer>>
IndexedMessageCodec.MessageHandler. encoder
private java.util.function.BiConsumer<MSG,PacketBuffer>
SimpleChannel.MessageBuilder. encoder
Methods in net.minecraftforge.fml.network.simple that return types with arguments of type PacketBuffer Modifier and Type Method Description private <MSG> org.apache.commons.lang3.tuple.Pair<PacketBuffer,java.lang.Integer>
SimpleChannel. toBuffer(MSG msg)
Methods in net.minecraftforge.fml.network.simple with parameters of type PacketBuffer Modifier and Type Method Description <MSG> int
IndexedMessageCodec. build(MSG message, PacketBuffer target)
(package private) void
IndexedMessageCodec. consume(PacketBuffer payload, int payloadIndex, java.util.function.Supplier<NetworkEvent.Context> context)
<MSG> int
SimpleChannel. encodeMessage(MSG message, PacketBuffer target)
private static <M> void
IndexedMessageCodec. tryDecode(PacketBuffer payload, java.util.function.Supplier<NetworkEvent.Context> context, int payloadIndex, IndexedMessageCodec.MessageHandler<M> codec)
private static <M> int
IndexedMessageCodec. tryEncode(PacketBuffer target, M message, IndexedMessageCodec.MessageHandler<M> codec)
Method parameters in net.minecraftforge.fml.network.simple with type arguments of type PacketBuffer Modifier and Type Method Description (package private) <MSG> IndexedMessageCodec.MessageHandler<MSG>
IndexedMessageCodec. addCodecIndex(int index, java.lang.Class<MSG> messageType, java.util.function.BiConsumer<MSG,PacketBuffer> encoder, java.util.function.Function<PacketBuffer,MSG> decoder, java.util.function.BiConsumer<MSG,java.util.function.Supplier<NetworkEvent.Context>> messageConsumer, java.util.Optional<NetworkDirection> networkDirection)
(package private) <MSG> IndexedMessageCodec.MessageHandler<MSG>
IndexedMessageCodec. addCodecIndex(int index, java.lang.Class<MSG> messageType, java.util.function.BiConsumer<MSG,PacketBuffer> encoder, java.util.function.Function<PacketBuffer,MSG> decoder, java.util.function.BiConsumer<MSG,java.util.function.Supplier<NetworkEvent.Context>> messageConsumer, java.util.Optional<NetworkDirection> networkDirection)
SimpleChannel.MessageBuilder<MSG>
SimpleChannel.MessageBuilder. decoder(java.util.function.Function<PacketBuffer,MSG> decoder)
SimpleChannel.MessageBuilder<MSG>
SimpleChannel.MessageBuilder. encoder(java.util.function.BiConsumer<MSG,PacketBuffer> encoder)
<MSG> IndexedMessageCodec.MessageHandler<MSG>
SimpleChannel. registerMessage(int index, java.lang.Class<MSG> messageType, java.util.function.BiConsumer<MSG,PacketBuffer> encoder, java.util.function.Function<PacketBuffer,MSG> decoder, java.util.function.BiConsumer<MSG,java.util.function.Supplier<NetworkEvent.Context>> messageConsumer)
<MSG> IndexedMessageCodec.MessageHandler<MSG>
SimpleChannel. registerMessage(int index, java.lang.Class<MSG> messageType, java.util.function.BiConsumer<MSG,PacketBuffer> encoder, java.util.function.Function<PacketBuffer,MSG> decoder, java.util.function.BiConsumer<MSG,java.util.function.Supplier<NetworkEvent.Context>> messageConsumer)
<MSG> IndexedMessageCodec.MessageHandler<MSG>
SimpleChannel. registerMessage(int index, java.lang.Class<MSG> messageType, java.util.function.BiConsumer<MSG,PacketBuffer> encoder, java.util.function.Function<PacketBuffer,MSG> decoder, java.util.function.BiConsumer<MSG,java.util.function.Supplier<NetworkEvent.Context>> messageConsumer, java.util.Optional<NetworkDirection> networkDirection)
<MSG> IndexedMessageCodec.MessageHandler<MSG>
SimpleChannel. registerMessage(int index, java.lang.Class<MSG> messageType, java.util.function.BiConsumer<MSG,PacketBuffer> encoder, java.util.function.Function<PacketBuffer,MSG> decoder, java.util.function.BiConsumer<MSG,java.util.function.Supplier<NetworkEvent.Context>> messageConsumer, java.util.Optional<NetworkDirection> networkDirection)
Constructor parameters in net.minecraftforge.fml.network.simple with type arguments of type PacketBuffer Constructor Description MessageHandler(int index, java.lang.Class<MSG> messageType, java.util.function.BiConsumer<MSG,PacketBuffer> encoder, java.util.function.Function<PacketBuffer,MSG> decoder, java.util.function.BiConsumer<MSG,java.util.function.Supplier<NetworkEvent.Context>> messageConsumer, java.util.Optional<NetworkDirection> networkDirection)
MessageHandler(int index, java.lang.Class<MSG> messageType, java.util.function.BiConsumer<MSG,PacketBuffer> encoder, java.util.function.Function<PacketBuffer,MSG> decoder, java.util.function.BiConsumer<MSG,java.util.function.Supplier<NetworkEvent.Context>> messageConsumer, java.util.Optional<NetworkDirection> networkDirection)
-
Uses of PacketBuffer in net.minecraftforge.network
Fields in net.minecraftforge.network with type parameters of type PacketBuffer Modifier and Type Field Description private static java.util.List<PacketBuffer>
VanillaPacketSplitter. receivedBuffers
-
Uses of PacketBuffer in net.minecraftforge.registries
Fields in net.minecraftforge.registries declared as PacketBuffer Modifier and Type Field Description private PacketBuffer
ForgeRegistry.Snapshot. binary
Methods in net.minecraftforge.registries that return PacketBuffer Modifier and Type Method Description PacketBuffer
ForgeRegistry.Snapshot. getPacketData()
Methods in net.minecraftforge.registries with parameters of type PacketBuffer Modifier and Type Method Description static ForgeRegistry.Snapshot
ForgeRegistry.Snapshot. read(PacketBuffer buff)
-
Uses of PacketBuffer in net.minecraftforge.server.command
Methods in net.minecraftforge.server.command with parameters of type PacketBuffer Modifier and Type Method Description EnumArgument<?>
EnumArgument.Serializer. deserializeFromNetwork(PacketBuffer buffer)
void
EnumArgument.Serializer. serializeToNetwork(EnumArgument<?> argument, PacketBuffer buffer)
-