惯性聚合 高效追踪和阅读你感兴趣的博客、新闻、科技资讯
阅读原文 在惯性聚合中打开

推荐订阅源

月光博客
月光博客
Martin Fowler
Martin Fowler
cs.CL updates on arXiv.org
cs.CL updates on arXiv.org
Stack Overflow Blog
Stack Overflow Blog
C
Check Point Blog
阮一峰的网络日志
阮一峰的网络日志
奇客Solidot–传递最新科技情报
奇客Solidot–传递最新科技情报
B
Blog
O
OpenAI News
云风的 BLOG
云风的 BLOG
Threat Intelligence Blog | Flashpoint
Threat Intelligence Blog | Flashpoint
L
LangChain Blog
V
Vulnerabilities – Threatpost
P
Privacy & Cybersecurity Law Blog
Microsoft Azure Blog
Microsoft Azure Blog
H
Help Net Security
博客园 - 三生石上(FineUI控件)
C
Cyber Attacks, Cyber Crime and Cyber Security
N
News | PayPal Newsroom
The Register - Security
The Register - Security
Cyber Security Advisories - MS-ISAC
Cyber Security Advisories - MS-ISAC
T
Threat Research - Cisco Blogs
C
Cisco Blogs
www.infosecurity-magazine.com
www.infosecurity-magazine.com
Vercel News
Vercel News
宝玉的分享
宝玉的分享
T
Tailwind CSS Blog
H
Hackread – Cybersecurity News, Data Breaches, AI and More
Attack and Defense Labs
Attack and Defense Labs
人人都是产品经理
人人都是产品经理
S
Security Affairs
爱范儿
爱范儿
Engineering at Meta
Engineering at Meta
T
Tor Project blog
大猫的无限游戏
大猫的无限游戏
L
Lohrmann on Cybersecurity
aimingoo的专栏
aimingoo的专栏
K
KPMG report finds enterprise disconnect between AI and its ROI | CIO
博客园 - 【当耐特】
V
V2EX
V
Visual Studio Blog
The GitHub Blog
The GitHub Blog
雷峰网
雷峰网
WordPress大学
WordPress大学
Exploit-DB.com RSS Feed
Exploit-DB.com RSS Feed
L
LINUX DO - 最新话题
让小产品的独立变现更简单 - ezindie.com
让小产品的独立变现更简单 - ezindie.com
Schneier on Security
Schneier on Security
小众软件
小众软件
PCI Perspectives
PCI Perspectives

寒士杰克

想不到未来的一点光明 - 寒士杰克 1-初识模组 - 寒士杰克 开发日志:Discourse的开发网络 - 寒士杰克 欢迎关注,博主开了一个公众号 - 寒士杰克 当一个游戏没有社区:我如何从0搭建Vintage Story中文论坛 - 寒士杰克 Typecho插件:增强渲染MarkdownPlus - 寒士杰克 Markdown解析vega-lite图形 - 寒士杰克 phpBB扩展:数据库文档 - 寒士杰克 为什么考研? - 寒士杰克 本站入驻爱发电! - 寒士杰克 复古物语(Vintage Story)中国玩家社区已经开放! - 寒士杰克 AIP:我的世界AI机器人 - 寒士杰克 我的Python学习记录-陆续更新 - 寒士杰克 考研压力是有的,但也不是很大 - 寒士杰克 人成熟的过程,是承认孤独的过程 - 寒士杰克 AI声音克隆助力思政作业 - 寒士杰克 用Typecho备份文件构建博客专属字库 - 寒士杰克 在Typecho中添加Excalidraw Markdown - 寒士杰克 如何按需加载 Markdown 渲染资源 - 寒士杰克 假睡的代价:三年期的体检 - 寒士杰克 如何给 Typecho 支持额外 Markdown 渲染 - 寒士杰克 我的博客又又又更新了! - 寒士杰克 Vue3Admin: 一款必备的Typecho后台面板插件 - 寒士杰克 我并联了家中的双路由网络 - 寒士杰克
2-模组类型和modinfo - 寒士杰克
HansJack · 2026-06-18 · via 寒士杰克

编程 复古物语 教程 模组 966 字

这节讲:模组类型、模组modinfo文件、模组版本号,下一节讲内容模组制作。

一、Content Mod 和 Code Mod 的区别

模组类型主要开发方式适用内容技术要求
内容模组以 JSON 配置为主新物品、方块、配方、语言文件、世界生成调整等基础配置与数据编辑
代码模组以 C# 编程为主复杂交互、事件系统、自定义逻辑、实体行为、特殊功能等需要掌握 C# 和游戏 API

二、modinfo.json 是什么

它是模组的基本描述文件,相当于模组身份证。

常见字段:

  • type
  • modid
  • name
  • authors
  • description
  • version
  • dependencies

modinfo.json示例

内容模组:

{
  "type": "content",
  "modid": "myfirstcontentmod",
  "name": "My First Content Mod",
  "authors": [
    "YourName"
  ],
  "description": "A beginner content mod for Vintage Story.",
  "version": "1.0.0",
  "dependencies": {
    "game": "1.22.0"
  }
}

代码模组:

{
  "type": "code",
  "modid": "myfirstcodemod",
  "name": "My First Code Mod",
  "authors": [
    "YourName"
  ],
  "description": "A beginner code mod for Vintage Story.",
  "version": "1.0.0",
  "dependencies": {
    "game": "1.22.0"
  }
}

三、官方模组库支持版本号

正式版:
1.0.0

开发版:
1.0.0-dev.1

测试版:
1.0.0-pre.1

候选版:
1.0.0-rc.1

格式是否支持示例
X.Y.Z1.0.0
X.Y.Z-dev.N1.0.0-dev.1
X.Y.Z-pre.N1.0.0-pre.2
X.Y.Z-rc.N1.0.0-rc.5
X.Y.Z-pr.N×1.0.0-pr.1
X.Y.Z-beta.N×1.0.0-beta.1
X.Y.Z-alpha.N×1.0.0-alpha.1
X.Y.Z+build.1×1.0.0+20250616
X.Y.Z-foo.1×1.0.0-test.1
X.Y.Z.W×1.0.0.1

猜你想看