VFXWeaver 为 Minecraft 增添了电影般的视觉层:60+ 种特效以帧后处理光影的形式渲染,涵盖摄像机运镜、世界与实体叠加层、屏幕图像以及音效。可以通过命令触发一种特效,在浏览器中打开的节点编辑器里构建你自己的特效,或通过数据包、服务器插件或你自己的模组来驱动它们。
仅客户端运行。无需在服务器上安装任何内容,也不需要资源包。
两分钟体验
- 将
vfxweaver-2.5.0+<minecraft>-<loader>.jar 放入 mods/ 目录(版本标签页可按游戏版本和加载器进行筛选)。
- 开启作弊启动一个世界,或在服务器上拥有 OP 权限。
/vfx list 会列出所有特效 ID。然后:
| 命令 |
效果展示 |
/vfx play vfxweaver:datamosh |
画面融化:旧帧的像素沿运动方向拖拽,画面分裂成陈旧内容的色块。 |
/vfx play vfxweaver:torn_edge |
画面沿锯齿状线条撕裂,两侧在发光边缘下被拉开。 |
/vfx play vfxweaver:spectral |
七级棱镜渐变:双色调、色差涂抹或光谱环。 |
/vfx play vfxweaver:hex_grid |
三角晶格,其线条颜色随屏幕位置变化。 |
/vfx play vfxweaver:vhs |
磁带磨损效果:跟踪带干扰、色彩溢出、抖动。 |
/vfx play vfxweaver:heartbeat |
你设定节奏的心跳声。 |
/vfx play vfxweaver:vortex |
世界螺旋向中心收缩。 |
/vfx play vfxweaver:shockwave |
从一点向外扩散的环形冲击波。 |
/vfx play vfxweaver:camera_shake |
带有平滑包络线的撞击震动,而非随机抖动。 |
/vfx playentity vfxweaver:entity_outline @e[type=pig,limit=1] |
对选定实体应用纹理感知的轮廓线。 |
单次播放持续几秒:再次运行可重复播放,使用 /vfx stop <effect> 停止。任何参数均可就地覆盖,例如 /vfx play vfxweaver:vhs {[intensity:1.5]} 会产生相同但强度更高的效果。多个相同特效的播放会叠加而非相互替换。
在浏览器中构建你自己的特效
/vfxeditor 启动由游戏本身提供的小型节点编辑器,并在你的浏览器中打开。特效表现为节点图;每个参数可以接受常量、起始/结束渐变、关键帧或表达式。你在拖动节点时,画布会在游戏中实时预览时间线为每个动画参数提供单独轨道,导出 (Export) 会将结果写入标准的 data/<namespace>/vfx/<name>.json —— 这正是数据包所包含的内容格式,因此不存在仅限编辑器使用的格式,也无需安装额外组件。
URL 携带一次性令牌,桥接服务仅绑定到 127.0.0.1,关闭标签页不会留下任何后台进程。
内置内容
- 屏幕特效,40 种 — 色差、色彩分级、扭曲、凹陷、漩涡、冲击波、像素化、半调、漫画风格、墨水效果、海报化、渐变映射、色相隔离、反色、太阳化、切片偏移、重影、眼睑效果、虹膜擦除、数字故障、VHS、数据损坏、撕裂边缘、光谱、扫描线、胶片颗粒、运动模糊、模糊、泛光、景深、黑边、速度线、暗角、屏幕闪光、强调辉光、残影、定格动画、噪声扭曲、天空图案、表面图案。
- 摄像机特效,3 种 — 震动、荷兰角、视场角。
- 世界特效,7 种 — 方块着色、方块轮廓、光束、脉冲环、引导线、粒子、方块链。
- 实体特效,3 种 — 着色、基于 UUID 的轮廓和位移、纹理感知。
- 音频特效,4 种 — 心跳、嗡嗡声、噪声和音量压限,它们在独立的音频线程上合成,确保帧率不会影响声音。
- 图像和窗口 —
screen_image 在帧上方绘制图片(来自资源包的 PNG,支持动画或非动画)。window_create 在游戏运行时打开一个真正的无边框点击穿透桌面窗口,显示一张图片。
- 附加功能 — 雾效修改器、蒙版(屏幕、世界和实体体积,低至自定义 GLSL 插件)、集合(将多个特效组合为一个)、缓动曲线和全局关键帧。
数据包
定义文件是一个 JSON 文件:包含特效类型、时间轴、参数,以及对世界、摄像机或玩家的可选绑定。参数可以作为常量、start/end 渐变、带缓动的关键帧或 expr 表达式进行动画,并且可以读取玩家的位置、朝向或生命值。
JAR 包自带 73 个预置定义,每种特效类型一个,因此学习格式最快的方法是复制其中一个并修改数值。服务器可以通过 vfxweaver:vfx_trigger 触发特效,并通过 vfxweaver:vfx_sync 同步定义;数据包携带 PROTOCOL_VERSION,如果客户端检测到不兼容的版本,会静默忽略而不会影响你的世界。
用于录制文档网站演示视频的数据包是公开的:vfx-demos-showcase.zip。它搭建了一个舞台(/function vfx_demos:scene/setup)并为每种特效播放一个循环演示(例如 /vfx play vfx_demos:show_vhs),这是快速浏览所有内容的最快方式。
给模组开发者
dev.vfxweaver.api.VFXAPI 允许从服务器端播放、停止、实时调整和对玩家的特效设置关键帧,registerImage 让你的模组可以将自行绘制的图像交给渲染器。网络布局、定义注册表以及完整的调用接口详见 docs/API.md。
要求
|
|
| Minecraft |
26.2, 26.1.x, 1.21.11 |
| Loader |
Fabric 0.18.4+(适用于 26.x),0.17.3+(适用于 1.21.11),或 NeoForge |
| Fabric API |
Fabric 平台必需 |
| Java |
25+ |
| 运行侧 |
客户端;服务端为可选,仅承载数据包同步和触发功能 |
录制进 Flashback 回放中的特效会随回放一起播放,包括循环播放和持久性特效。
链接
- 指南 — 命令、所有特效及其参数、数据包格式、蒙版、编辑器:
- 源代码和问题反馈 —
- 更新日志 —
VFXWeaver puts a cinematic layer over Minecraft: 60+ effects rendered as post-processing shaders on top of the frame, camera moves, world and entity overlays, screen images and sound. Fire one from a command, build your own in a node editor that opens in your browser, or drive them from a datapack, a server plugin or your own mod.
Client-side only. Nothing to install on the server, no resource pack required.
Try it in two minutes
- Drop
vfxweaver-2.5.0+<minecraft>-<loader>.jar into mods/ (the versions tab filters by game version and loader).
- Launch a world with cheats on, or be op on a server.
/vfx list prints every effect id. Then:
| Command |
What you see |
/vfx play vfxweaver:datamosh |
The picture melts: pixels of the old frame are dragged along the movement and the frame breaks into blocks of stale content. |
/vfx play vfxweaver:torn_edge |
The frame splits along a jagged line, the two sides pulled apart under a glowing edge. |
/vfx play vfxweaver:spectral |
A seven-stop prism ramp: a duotone, a chromatic smear or a spectral ring. |
/vfx play vfxweaver:hex_grid |
A triangular lattice whose lines take their colour from the screen position. |
/vfx play vfxweaver:vhs |
Tape wear: tracking bands, colour bleed, wobble. |
/vfx play vfxweaver:heartbeat |
A heartbeat in your ears, at a tempo you set. |
/vfx play vfxweaver:vortex |
The world spirals into the centre. |
/vfx play vfxweaver:shockwave |
A ring knocks the picture outward from a point. |
/vfx play vfxweaver:camera_shake |
An impact shake with a smooth envelope, not a jitter. |
/vfx playentity vfxweaver:entity_outline @e[type=pig,limit=1] |
A texture-aware outline on a chosen entity. |
A play lasts a few seconds: run it again to repeat, /vfx stop <effect> to cut it. Any param is overridable in place, so /vfx play vfxweaver:vhs {[intensity:1.5]} is the same effect, harder. Several plays of the same effect stack instead of replacing each other.
Build your own in the browser
/vfxeditor starts a small node editor served by the game itself and opens it in your browser. The effect is a node graph; every param takes a constant, a start/end ramp, keyframes or an expression. The canvas plays live in-game while you drag, the timeline gives one lane per animated param, and Export writes an ordinary data/<namespace>/vfx/<name>.json — exactly what a datapack would contain, so there is no editor-only format and nothing extra to install.
The URL carries a one-time token, the bridge binds to 127.0.0.1 only, and closing the tab does not leave anything running.
What is in the box
- Screen, 40 effects — chromatic aberration, colour grade, distortion, dent, vortex, shockwave, pixelate, halftone, comic, ink, posterize, gradient map, hue isolation, invert, solarize, slice shift, double vision, eyelids, iris wipe, digital glitch, VHS, datamosh, torn edge, spectral, hex grid, scanlines, film grain, motion blur, blur, bloom, depth of field, letterbox, speed lines, vignette, screen flash, accent glow, afterimage, stop motion, noise warp, sky pattern, surface pattern.
- Camera, 3 — shake, dutch roll, field of view.
- World, 7 — block tint, block outline, light beam, pulse ring, guide line, particles, block chain.
- Entity, 3 — tint, outline and displacement by UUID, texture-aware.
- Audio, 4 — heartbeat, hum, noise and volume duck, synthesised on their own audio thread so the frame rate never reaches the sound.
- Images and windows —
screen_image draws a picture over the frame (a resource-pack PNG, animated or not). window_create opens a real frameless click-through desktop window showing a picture while the game runs.
- Extras — fog modifier, masks (screen, world and entity volumes, down to custom GLSL plugins), collections (several effects as one), easing curves and keyframes everywhere.
Datapacks
A definition is one JSON file: an effect type, a timeline, params, and optional bindings to the world, the camera or the player. Params animate as a constant, a start/end ramp, keyframes with easing, or an expr, and can read the player's position, look direction or health.
The jar ships 73 ready definitions, one per effect type, so the fastest way to learn the format is to copy one out and change a number. Servers can fire effects over vfxweaver:vfx_trigger and sync definitions over vfxweaver:vfx_sync; packets carry a PROTOCOL_VERSION, and a client silently ignores an incompatible one instead of touching your world.
The datapack used to record the clips on the docs site is public: vfx-demos-showcase.zip. It builds a stage (/function vfx_demos:scene/setup) and plays one looping demo per effect (/vfx play vfx_demos:show_vhs), which is the quickest tour of everything here.
For mod developers
dev.vfxweaver.api.VFXAPI plays, stops, live-tunes and keyframes effects on a player from the server side, and registerImage lets your mod hand the renderer an image it drew itself. The network layout, the definition registry and the full call surface are in docs/API.md.
Requirements
|
|
| Minecraft |
26.2, 26.1.x, 1.21.11 |
| Loader |
Fabric 0.18.4+ on 26.x, 0.17.3+ on 1.21.11, or NeoForge |
| Fabric API |
required on Fabric |
| Java |
25+ |
| Side |
client; the server side is optional and only carries datapack sync and triggers |
Effects recorded into a Flashback replay play back with it, including looping and persistent ones.
Links
- Guide — commands, every effect and its params, the datapack format, masks, the editor:
- Source and issues —
- Changelog —
评论 0
登录后参与评分
还没有评论,来抢沙发吧