Meshify
在世界中框选两个角,运行一条命令,Meshify 便会将两者之间的方块导出为带有纹理的 3D 模型。
它会生成一个包含材质和纹理图集的 OBJ 文件,以及一个可在任意 Web glTF 查看器中打开的 .glb 文件。Meshify 仅在客户端运行,因此服务器端无需安装任何内容。
导出内容
- 原版与模组方块,通过游戏渲染使用的烘焙模型
- 流体
- 箱子、告示牌和悬挂告示牌及其文本
- 床
- 旗帜及其图案
- 头颅(包括玩家皮肤)
- 潜影盒
- 装饰陶罐
- 钟和导管
- 其他方块实体及实体,从其各自的渲染器捕获
- 物品展示框及其内部的地图
使用方法
- 注视建造物的一个角落并按下 V。
- 注视相对的角落并按下 B。
- 运行
/meshify export castle。
文件会保存在 .minecraft/meshify/castle/ 目录下,你可以点击聊天栏中的路径来打开该文件夹。
大型区域的扫描以每刻一片的方式进行,因此在进度和剩余时间显示在快捷栏上方时,游戏仍可正常运行。
起始角以绿色轮廓标示,结束角以红色轮廓标示,区域以青色标示。
你的选择范围会在重启后保留。
按下 N 可打开菜单,其功能等同于所有命令。
按键绑定可在 控制 > 键位设置 > 杂项 中更改。
命令
| 命令 | 作用 |
|---|---|
/meshify gui |
打开菜单 |
/meshify start [x y z] |
在指定坐标或你的脚下设置起始角 |
/meshify end [x y z] |
以相同方式设置结束角 |
/meshify here |
仅选择你当前注视的方块 |
/meshify expand <blocks> [side] |
扩展区域的所有边,或仅 side 指定的边 |
/meshify shrink <blocks> [side] |
缩小区域的所有边,或仅 side 指定的边 |
/meshify expand vert |
从世界底部拉伸至建筑限制高度 |
/meshify trim |
将区域缩小至内部实际存在的方块 |
/meshify clear |
清除选择范围 |
/meshify status |
显示角落位置、尺寸和体积 |
/meshify export [name] [options…] |
导出选择范围 |
/meshify cancel |
停止正在进行的导出并删除已写入的内容 |
/meshify open |
打开导出文件夹 |
side 可以是 all(全部)、up(上)、down(下)、north(北)、south(南)、east(东)、west(西)或 facing(面朝方向)。
导出选项
选项位于名称之后,顺序不限,且支持按 Tab 自动补全。
若不指定任何选项,Meshify 将重复上次导出的选项配置。一旦指定了任一选项,其余选项将恢复为默认值。
| 选项 | 默认值 | 效果 |
|---|---|---|
atlas |
on | 将所有纹理打包进单个 atlas.png 文件中。.glb 需要此文件 |
separate |
off | 每个纹理单独保存为一个 PNG 文件。不生成 .glb 文件 |
2, 4, 8, … |
1 |
将所有纹理放大指定倍数,最大为 16 倍 |
weld |
off | 焊接顶点,并移除退化面和重复面 |
cull |
off | 同时隐藏紧贴邻居完整不透明面的面 |
bake |
off | 将平面合并为带有烘焙纹理的大四边形,从而大幅减少面数 |
uv<px> |
uv16 |
每个方块面的烘焙分辨率,范围 1 至 256。开启 bake |
max<px> |
max4096 |
最大烘焙贴图尺寸,范围 256 至 16384。开启 bake |
例如:
/meshify export castle bake uv32 weld
Meshify
Mark two corners in your world, run one command, and Meshify writes the blocks between them as a textured 3D model.
You get an OBJ with its materials and texture atlas, plus a .glb that opens in any web glTF viewer. Meshify only runs on your client, so nothing needs to be installed on the server.
What it exports
- Vanilla and modded blocks, through the same baked models the game renders
- Fluids
- Chests, signs and hanging signs with their text
- Beds
- Banners with their patterns
- Heads (player skins included)
- Shulker boxes
- Decorated pots
- Bells and conduits
- Other block entities and entities, captured from their own renderers
- Item frames and the maps inside them
How to use it
- Look at one corner of your build and press V.
- Look at the opposite corner and press B.
- Run
/meshify export castle.
The files land in .minecraft/meshify/castle/, and you can click the path in chat to open the folder.
Large regions are scanned a slice per tick, so the game keeps running while progress and time left show above the hotbar.
The start corner is outlined in green, the end corner in red and the region in cyan.
Your selection is kept across restarts.
Press N for a menu that does everything the commands do.
The keys can be changed under Controls > Key Binds > Miscellaneous.
Commands
| Command | What it does |
|---|---|
/meshify gui |
Opens the menu |
/meshify start [x y z] |
Sets the start corner at the coordinates, or at your feet |
/meshify end [x y z] |
Sets the end corner the same way |
/meshify here |
Selects only the block you are looking at |
/meshify expand <blocks> [side] |
Grows every side of the region, or only side |
/meshify shrink <blocks> [side] |
Shrinks every side, or only side |
/meshify expand vert |
Stretches the region from the bottom of the world to the build limit |
/meshify trim |
Shrinks the region to the blocks inside it |
/meshify clear |
Clears the selection |
/meshify status |
Shows the corners, size and volume |
/meshify export [name] [options…] |
Exports the selection |
/meshify cancel |
Stops the running export and deletes what it wrote |
/meshify open |
Opens the export folder |
side is all, up, down, north, south, east, west or facing, the direction you are looking.
Export options
Options go after the name, in any order, and Tab suggests them.
With no options at all, Meshify repeats your last export's options. Once you give any option, the rest go back to their defaults.
| Option | Default | Effect |
|---|---|---|
atlas |
on | Packs every texture into one atlas.png. The .glb needs this |
separate |
off | One PNG per texture instead. No .glb is written |
2, 4, 8, … |
1 |
Upscales every texture by this factor, up to 16 |
weld |
off | Welds vertices and removes degenerate and duplicate faces |
cull |
off | Also hides faces pressed against a neighbour's full opaque face |
bake |
off | Merges flat surfaces into large quads with baked textures, for far fewer faces |
uv<px> |
uv16 |
Bake resolution per block face, 1 to 256. Turns bake on |
max<px> |
max4096 |
Largest bake sheet, 256 to 16384. Turns bake on |
For example:
/meshify export castle bake uv32 weld
下载 Meshify
需要联机服务器吗?
稳定流畅、一键部署,几分钟即可和朋友联机开服
最低仅需 8 元/月 即可畅快联机
下载 Meshify
下载 Meshify
下载 Meshify
需要联机服务器吗?
稳定流畅、一键部署,几分钟即可和朋友联机开服
最低仅需 8 元/月 即可畅快联机
下载 Meshify
下载 Meshify
下载 Meshify
下载 Meshify
下载 Meshify
需要联机服务器吗?
稳定流畅、一键部署,几分钟即可和朋友联机开服
最低仅需 8 元/月 即可畅快联机
下载 Meshify
- 该模组名为 Meshify,其命令为
/meshify而非/pos。 - 游戏内菜单,可通过按 N 键或输入
/meshify gui打开。 - 导出操作不再导致游戏卡顿。区域以每刻一层的速率进行扫描,进度和剩余时间会显示在快捷栏上方。
- 新增
expand、shrink、trim、cancel和open子命令。 - 提供适用于从 1.21.10 到 26.4 快照各 Minecraft 版本的独立 jar 包。
关于这个资源的讨论、问题反馈与使用心得
还没有讨论,来发第一帖吧
你是这个资源的作者?登录后可认领此资源。
相似资源
模组
可定制的鞘翅模组,支持装饰纹饰、旗帜图案等更多功能!
模组
一个用于收集生物掉落物的多区块模组。
模组
显示你正在注视的方块的信息。(适用于 Minecraft 1.16+ 的 Hwyla/Waila 分支)
模组
在游戏画面角落显示附近世界地形、玩家、生物和实体的地图。可创建路径点,帮助你找到标记过的位置。
模组
查看物品与配方
模组
使用 JavaScript 编辑配方、添加自定义物品、编写世界事件!
评论 0
登录后参与评分
还没有评论,来抢沙发吧