跳到正文

prefab-custom-addon

作者:veyne0

A NeoForge addon for Prefab 1.20.1,1.21.1, adds custom building extension packs, works for both client and dedicated server。

收藏

截图

介绍

中文介绍正在准备中,下面暂时显示原文。

Prefab ships with a handful of buildings. After a while you get bored of them.

This addon adds an extension pack system: press Z in-game to browse and download community-made packs, or press X to make your own.

Downloader — browse community packs, pick one, drops into prefab-extension/, ready to use next time you load a world.

Creator — local workspace mode. Fill in a form, pick an NBT, pick a cover image, a few clicks and you have a standard extension pack (with ZIP). Everything lives in prefab-work/ at your game root. Export NBT files using the vanilla Structure Block.

Requires: Prefab 1.0.7+, LDLib2 2.2+. Tested on NeoForge 21.1.233 / MC 1.21.1 / Java 21+.

Keybindings

Key Action
Z Open extension pack downloader
X Open extension pack creator

Folder Layout

The workspace folder mirrors the published pack format:

prefab-work/
├── <pack_id>/
│   ├── information/
│   │   ├── <pack_id>.txt
│   │   └── cover.png
│   └── construction/
│       ├── <building_id>.nbt
│       ├── <building_id>.png
│       └── <building_id>.txt
└── <pack_id>.zip          ← auto-generated

Any change under prefab-work/<id>/ triggers an automatic repack into prefab-work/<id>.zip. To install a pack manually, unzip the file into prefab-extension/<id>/.

Dependencies

Mod Version Required Purpose
Prefab 1.0.7+ yes core — provides GuiStructure, BuildBlock, etc.
LDLib2 2.2+ yes UI utilities

NeoForge 21.1.233 on Minecraft 1.21.1.

常见问题

prefab-custom-addon 支持哪些 Minecraft 版本?

prefab-custom-addon 支持 Minecraft Java 版 1.21.1,可用的加载器:NeoForge。下载时注意选择和你游戏版本一致的文件。

prefab-custom-addon 怎么安装?

先用 PCL2 或 HMCL 启动器安装对应版本的 NeoForge,再把下载的 .jar 文件放进游戏目录的 mods 文件夹,重新启动游戏即可。开启了版本隔离的,mods 文件夹在 versions/版本名 下面。

评论

登录后评论和评分