Networking 图标

Networking

作者:rebot | 分类:模组

价格:0 墨喵币 下载量:0 点赞:0 版本 1.0-beta.1-1.21.10-neoforge
本资源为搬运资源,原资源地址: https://modrinth.com/mod/networking
资源信息

Minecraft 版本: 1.21.9 1.21.10

平台: neoforge

标签: library

资源介绍

Networking

This mod provide universal network APIs for other mods.

Other mods should include this mod in their mod files. If not, you can download standalone versions here.

Developer Usages

  • ClientNetworking.sendToServer: Send a FriendlyByteBuf/Payload to server.
  • ClientNetworking.registerReceiver: Register a handler for FriendlyByteBuf/Payload from server.
  • ServerNetworking.sendTo/sendToPlayer/sendToAll: Send a FriendlyByteBuf/Payload to specific targets.
  • ServerNetworking.registerReceiver: Register a handler for FriendlyByteBuf/Payload from server.

1.20.4-

  • Networking.createBuf: Create an empty FriendlyByteBuf.

1.20.5+

  • Networking.registerPayloadType: Register a payload type manually, usually used for C2S payloads.
下载太慢?试试 墨喵加速站,支持 Modrinth 和外网直链高速下载! 用的人越多,下载的越快!
下载与版本
评论(0)
登录 后发表评论。

暂无评论,抢个沙发吧~

举报此资源

请登录后举报

🔥 相关推荐
Totem Of Fox 3D

价格:0 墨喵币
下载量:0

查看详情
ReloadKey

价格:0 墨喵币
下载量:0

查看详情
ProxyPlayerNotify

价格:0 墨喵币
下载量:0

查看详情
GT's Generic Client Pack

价格:0 墨喵币
下载量:0

查看详情