这个模组名为 Simple Creator,并非因为它易于使用,而是因为它在编写时(且至今仍是)一个结构简单的模组。
它支持数据驱动的方块和物品,即你可以通过在 Minecraft 目录下的 SimplyCreated 文件夹中放置 JSON 文件来添加方块和物品。
其 JSON 格式仅是对代码中可实现功能的翻译,无需编写任何自定义代码。(但仍有一些功能尚未实现)
是的,其中许多操作可能毫无意义,甚至可能导致游戏崩溃。
使用方法:
要添加方块,请将 JSON 文件放置在以下路径:
minecraft/SimplyCreated/[your_modId]/blocks/[block_id].json
示例文件可在此处查看 here。
该文件包含了所有使用的属性。
所有支持的属性列表以及部分属性的说明可在此处查看 here。
你可以省略任意属性,系统将自动应用合理的默认值。
要添加物品,请将 JSON 文件放置在以下路径:
minecraft/SimplyCreated/[your_modId]/items/[item_id].json
示例文件可在此处查看 here。
该文件包含了所有使用的属性。
你可以省略任意属性,系统将自动应用合理的默认值。
对于方块和物品,你必须通过数据包或资源包添加模型、方块状态、纹理、战利品表,并将它们加入标签以设置挖掘等级和有效工具,可能还需要更多操作。建议额外使用如 Global Packs 之类的模组。
免责声明:
如果此模组或使用其创建的方块/物品导致你的游戏出现问题,本人概不负责。本模组旨在供整合包开发者使用,例如用于添加货币或简单的独特方块。
This mod is called Simple Creator, not because it's simple to use, but because it was/is a simple mod to write.
It allows for data driven blocks and items, i.e. you can add blocks and items by placing JSON's in a folder Structure under a SimplyCreated folder in the Minecraft directory.
It's JSON format is just a translation of what is possible in code without writing any custom code. (and some things are still missing)
Yes, many things you can do don't make sense, some might even break your game.
Usage:
To add blocks, place JSON's under:
minecraft/SimplyCreated/[your_modId]/blocks/[block_id].json
An example file can be seen here.
This file contains all used properties.
A list of all supported properties and explanations for some of them can be found here.
You can leave out any property, and a sensible default should be used instead.
To add items, place JSON's under:
minecraft/SimplyCreated/[your_modId]/items/[item_id].json
An example file can be seen here.
This file contains all used properties.
You can leave out any property, and a sensible default should be used instead.
For both, blocks and items, you will need to add models, block states, textures, loot tables, add them to tags to set mining levels and effective tools, and probably more via data/resource packs. I recommend using a mod like Global Packs in addition.
Disclaimer:
I am not responsible if this mod or a block/item created with it breaks your game. This mod is intended to be used by mod pack devs to e.g. add currencies or simple unique blocks.
评论 0
登录后参与评分
还没有评论,来抢沙发吧