更改

跳到导航 跳到搜索
删除10字节 、 2021年8月8日 (日) 06:07
第81行: 第81行:  
If you did everything correctly so far, you should see the new mod under "Loaded X content packs" in the SMAPI console. (If not, review the above steps or [[Modding:Community|ask for help]].)
 
If you did everything correctly so far, you should see the new mod under "Loaded X content packs" in the SMAPI console. (If not, review the above steps or [[Modding:Community|ask for help]].)
   −
===Content format===
+
=== 内容格式===
The <tt>content.json</tt> file you created above is what tells Content Patcher what to change. This has two main fields:
+
您在上面创建的 <tt>content.json</tt> 文件告诉 Content Patcher 要更改什么。 这有两个主要领域:
   −
* <tt>Format</tt>: the format version. You should always use the latest version (currently 1.19.0) to enable the latest features and avoid obsolete behavior.
+
* <tt>Format</tt> :格式版本。 您应该始终使用最新版本(当前为 1.19.0 )来启用最新功能并避免过时行为。
* <tt>Changes</tt>: the changes you want to make. Each entry is called a ''patch'', and describes a specific action to perform: replace this file, copy this image into the file, etc. You can list any number of patches.
+
* <tt>Changes</tt> :您要进行的更改。 每个条目称为“补丁”,并描述要执行的特定操作:替换此文件、将此图像复制到文件中等。您可以列出任意数量的补丁。
   −
You can list any number of patches in the <tt>Changes</tt> field, each surrounded by <code>{</code> and <code>}</code>. See the next section for more info, but here's a quick example:
+
您可以在 <tt>Changes</tt> 字段中列出任意数量的补丁,每个补丁都由 <code>{</code> <code>}</code> 包围。 有关更多信息,请参阅下一节,但这里有一个快速示例:
 
{{#tag:syntaxhighlight|
 
{{#tag:syntaxhighlight|
 
{
 
{
40

个编辑

导航菜单