有没有想过在 Minecraft 中向好友快速发送截图或视频?
是的?那这正是为你准备的。
隆重推出 BlockChat —— 一款 Minecraft 社交模组。
直接在 Minecraft 内即时向好友发送截图或视频。你甚至无需与好友处于同一个服务器。本模组适用于单人游戏和多人游戏,并兼容所有模组与光影(需使用兼容的 Fabric 版本)。
它是如何工作的?
这是一个仅客户端模组,因此你可以在加入的任何服务器上使用它。你可以把它想象成类似 Replay Mod 或 Flashback 的功能。然而,它并不会记录你的世界状态——它只记录你所见的内容。当你截取屏幕或使用视频录制功能时,它会精确捕捉你在 Minecraft 中看到的一切。
捕获之后,你就可以将其发送给好友了。你可以通过先向某人发送好友请求来添加好友,对方必须接受才能成为好友。如果好友在游戏中,他们几乎会立即收到消息并带有小通知;如果他们未在线,则会在下次登录时看到该消息。
首次使用
首先,请确保下载适合你操作系统的正确版本——例如,如果你使用的是 MacOS,请下载 MacOS 版本。安装模组后,按 U 打开 BlockChat 菜单。
首先,你需要登录。系统会生成一个唯一的登录代码,你需要使用该代码配合你的 Microsoft 账户进行登录。一旦使用该代码完成登录,点击“我已登录完毕”以登录 BlockChat。
登录后,你将看到不同的标签页,包括聊天、好友和设置。你可以在好友标签页中搜索任何人,包括尚未安装此模组的人。在他们接受你的好友请求之前,你无法向他们发送区块。
发送截图
要向某人发送截图,请按 F2。这是默认的截图快捷键,因此它会像往常一样捕获并保存为文件,但如果在几秒内按下 U,它还允许你直接发送。
打开 BlockChat 菜单后,你会看到图像的预览。你可以在文本框中输入文字以添加标题。点击并拖动标题可在图像上移动其位置。
准备好后,点击“发送”并选择你要发送的对象。他们将立即收到。
发送视频
向某人发送视频与发送截图类似。要开始录制,请按 J(默认按键)。你会在右上角看到一个录制图标。最大录制时间为 30 秒。完成后,再次按 J 停止录制。如果你想发送,系统会提示你打开 BlockChat。
打开 BlockChat 菜单后,你会看到视频的预览。默认情况下,它将包含来自你电脑的所有音频,包括你选择的麦克风。你可以在设置中禁用麦克风。如需,可添加标题。
准备好后,点击“发送”并选择你要发送的对象。他们将立即收到。
技术细节
这是一个复杂的模组,因此这里有一些关于其后台工作原理的更多信息。
录制
录制功能为 MacOS 和 Windows 分别使用独立的辅助二进制文件,以流畅地录制 Minecraft 窗口和电脑音频。它捆绑了 ffmpeg 二进制文件,用于在发送到服务器之前进行最终的复用处理。
服务器
由于这是一个仅客户端模组,因此无需对服务器进行任何修改。
所有后端基础设施均托管在 Cloudflare 上:
- Cloudflare Worker:面向公众的后端入口点。它处理登录/身份验证请求以及实时的 BlockChat websocket 连接,然后将每个玩家路由到正确的后端状态。
- Cloudflare Durable Objects:每个玩家的实时状态和逻辑。每位玩家都有一个始终一致的后端对象,用于跟踪会话、好友、区块、最近动态以及实时消息处理。
- Cloudflare R2:媒体存储。它存储实际的截图和视频区块,而客户端则通过临时安全 URL 直接向其上传和下载数据。
+------------------+ +--------------------------------+ +----------------------+ +---------------------------+ +--------------------------------------+
| Sender creates | ---> | Sender backend creates one | ---> | Client uploads media | ---> | Backend fans that same | ---> | Recipient opens it; backend marks |
| a Block | | shared upload + upload URL | | directly to R2 | | Block out to recipients | | it viewed, and deletes the shared |
| | | for all recipients | | | | | | R2 media after the last recipient |
| | | | | | | | | has viewed it |
+------------------+ +--------------------------------+ +----------------------+ +---------------------------+ +--------------------------------------+
身份验证
BlockChat 使用你的 Microsoft 账户进行登录、验证身份,并通过 Microsoft 的 OAuth 2 设备代码流程 验证你是否拥有 Minecraft。当你登录时,系统会提示你输入一次性代码,以便将你的账户链接到 Microsoft。这与许多自定义启动器(如 Prism)的流程类似。
+------------------+ +----------------------+ +-------------------------+ +--------------------------------------+
| 玩家开始在模组中 | ---> | BlockChat 认证 | <--> | Microsoft / Xbox / | ---> | 玩家会话存储在 DO 中; |
| 登录 | | 端点 | | Minecraft 账户流程 | | 之后 WebSocket 连接并 |
| | | | | | | 将当前状态推送到客户端 |
+------------------+ +----------------------+ +-------------------------+ +--------------------------------------+
故障排除与 Bug 报告
如果你遇到问题或发现 Bug,请加入 Discord 并告诉我!
这安全吗?
是的。它完全 开源 —— 后端运行的代码与这里展示的完全一致,GitHub 上的发布版本会自动上传到这里。
请注意,用户可能能够修改客户端以发送任意媒体内容,因此只将你信任的人添加为好友。
我还提供了一份 隐私政策 和一份 服务条款,你可以查看有关后端服务的相关信息。但核心内容是:我只将你的数据用于模组功能所需的目的,并且不会保留、出售或以任何其他方式使用这些数据。这不会影响你的 Microsoft/Minecraft 账户;身份验证流程仅用于验证你的 Minecraft 身份。
Ever wanted to send a quick screenshot or video to your friends within Minecraft?
Yes? This is just for you.
Introducting BlockChat - a social mod for Minecraft.
Instantly send screenshots or videos from within Minecraft to your friends. You don't even need to be on the same server. This works in singleplayer and multiplayer and is compatible with all mods and shaders (must be using a compatible Fabric version).
How does this work?
This is a client-only mod, so you can use this on any server you join. Think of it a little bit like Replay mod or Flashback. However, this doesn't record your world state - it only records what you see. When you take a screenshot or use the video record function, it captures exactly what you see in Minecraft.
After you capture, you'll be able to send it to friends. You can become friends with someone by requesting them first, and they have to accept. Your friends will receive the messages almost instantly if they're in game with a small notification. If they're not playing, they'll see it next time they log in.
First Time Usage
First, make sure you download the correct version for your operating system - for example, if you're on MacOS, download the MacOS versions. After you've installed the mod, press U to open the BlockChat menu.
First, you'll need to sign in. A unique sign in code will be generated, and you'll use that with your Microsoft account to sign in. Once you've signed in with that code, click "I've finished signing in" to sign in to BlockChat.
Once you've signed in, you'll see different tabs, including one for chats, friends, and settings. You can search for anyone in the friends tab, including people who don't have the mod yet. They'll need to accept your friend request before you can send them blocks.
Sending Screenshots
To send a screenshot to someone, press F2. This is the default screenshot key, so it will capture and save it to a file (like normal) but will also allow you to send it if you press U within a few seconds.
Once you open the BlockChat menu, you'll see a preview of the image. You can type in the text box to add a caption. Click and drag the caption to move it around on the image.
Once you're ready, hit Send and choose who you want to send it to. They'll receive it instantly.
Sending Videos
Sending a video to someone is similar to sending a screenshot. To start recording, press J (default key). You'll see a recording icon in the top right corner. The maximum recording time is 30s. Once you're done, press J again to stop recording. You'll see a notification to open BlockChat if you want to send it.
Once you open the BlockChat menu, you'll see a preview of the video. By default, it will include all audio from your computer, including your selected microphone. You can disable the microphone in your settings. Add a caption if you'd like.
Once you're ready, hit Send and choose who you want to send it to. They'll receive it instantly.
Technical Details
This is a complicated mod, so here's a bit more information on how all this works under the hood.
Recording
The recording function uses a separate helper binary for both MacOS and Windows to smoothly record the Minecraft window and computer audio. It bundles the ffmpeg binary to do final muxing before it is sent to the server.
Servers
Because this is a client-only mod, no server modifications are necessary.
All backend infrastructure is hosted on Cloudflare:
- Cloudflare Worker: The public-facing backend entrypoint. It handles login/auth requests and the live BlockChat websocket connection, then routes each player to the right backend state.
- Cloudflare Durable Objects: Per-player live state and logic. Each player gets their own always-consistent backend object that tracks sessions, friends, blocks, recents, and real-time message handling.
- Cloudflare R2: Media storage. It stores the actual screenshots and video blocks, while clients upload to and download from it directly using temporary secure URLs.
+------------------+ +--------------------------------+ +----------------------+ +---------------------------+ +--------------------------------------+
| Sender creates | ---> | Sender backend creates one | ---> | Client uploads media | ---> | Backend fans that same | ---> | Recipient opens it; backend marks |
| a Block | | shared upload + upload URL | | directly to R2 | | Block out to recipients | | it viewed, and deletes the shared |
| | | for all recipients | | | | | | R2 media after the last recipient |
| | | | | | | | | has viewed it |
+------------------+ +--------------------------------+ +----------------------+ +---------------------------+ +--------------------------------------+
Authentication
BlockChat uses your Microsoft account to sign in, verify your identity, and validate that you own Minecraft via Microsoft's OAuth 2 device code flow. When you sign in, you'll be prompted to enter a one time code to link your account to Microsoft. This is a similar to flow to many custom launchers, such as Prism.
+------------------+ +----------------------+ +-------------------------+ +--------------------------------------+
| Player starts | ---> | BlockChat auth | <--> | Microsoft / Xbox / | ---> | Player session is stored in the DO; |
| login in the mod | | endpoints | | Minecraft account flow | | later the websocket connects and |
| | | | | | | pushes current state to the client |
+------------------+ +----------------------+ +-------------------------+ +--------------------------------------+
Troubleshooting & Bugs
If you encounter issues are bugs, please join the Discord and let me know!
Is this safe?
Yes. It's completely open source - the code used there is exactly what's running in the backend, and the releases from GitHub are automatically uploaded here.
Keep in mind that users might be able to modify the client to be able to send arbitrary media, so only add people you trust as friends.
I also have a Privacy Policy and a Terms of Service page that you can view in regards to the backend service. But the gist is that I only use your data for the purposes of mod functionality only and it's not retained, sold, or used in any other way. This doesn't impact your Microsoft/Minecraft account in any way; the authentication flow is used solely to validate your Minecraft identity.
下载 BlockChat
下载 BlockChat
下载 BlockChat
下载 BlockChat
下载 BlockChat
下载 BlockChat
下载 BlockChat
下载 BlockChat
下载 BlockChat
下载 BlockChat
新增了对所有 21.x 版本和 26.1.x 版本的支持!
关于这个资源的讨论、问题反馈与使用心得
还没有讨论,来发第一帖吧
你是这个资源的作者?登录后可认领此资源。
相似资源
模组
使聊天消息以平滑的动画效果显示。
模组
一个完整经济模组:玩家余额、动态定价商店、玩家市场、买入订单、货币物品以及网页仪表盘。
模组
帮助你的朋友在他们死亡后恢复(如果你能及时的话)
模组
独特的睡眠全面重构与休息系统
模组
Minecraft 中可用的语音聊天!
模组
恢复所有账户的游戏聊天访问权限
评论 0
登录后参与评分
还没有评论,来抢沙发吧