Container Core
Container Core 允许你通过编辑简单的文本文件来重塑 Minecraft 的库存和容器界面,因此无需任何模组开发经验。'箱子、工作台、铁砧、创造模式菜单以及更多'都可以重新设计样式、重新排列或彻底重构,无需触碰一行 Java 代码 :D 我即将发布正式版了。
只需想象一下:下面的 GIF 展示了你的角色(可以是你的坐骑动物或任何生物)转向面向你的鼠标光标。这是你在生存模式库存中看到的常规生物预览,但你可以控制它在任何屏幕上的位置以及使用哪种生物,随时在游戏过程中操作,全部通过一个 JSON 文本文件实现。(该 GIF 来自一个非常旧的版本)
点击我!!!
易于使用
- 你不需要是开发者。 所有内容都是资源包内的纯 JSON。移动一个槽位、更改面板、放入精灵图,只需编辑文本即可。(没有对应 json 文件的界面将按原版显示。)
- 更改即时生效。 在游戏中按下 F3+T,你的编辑就会重新加载,简单好用。
- 与其他资源包兼容。 纹理和对象可以干净地堆叠,因此你的自定义调整可以与其他资源包共存。
- 丰富的构建素材。 包含一些现成的组件和简单元素,[Vanilla Defaults] 中还提供了所有约 23 种原版容器类型的布局模板。
针对模组开发者
你知道作者可以直接访问 JSON 层,但对于正在编写模组的开发者来说,引擎完全开放:你可以从代码中注册新对象和元素,定义自定义显示/隐藏条件,并通过 Container Core 的 Java API 添加新的容器界面。这意味着一个附加模组可以贡献其自己的对象供资源包作者在 JSON 中使用,其他模组也可以通过它驱动自己的菜单。(已有几个模组这样做了,见下文。)
入门指南
这里有维基页面,提供分步指南和文档:
已在使用 Container Core 的项目
有几个项目基于它构建:
- Vanilla Defaults by Dcqout - 通过可编辑的 JSON 重构原版内容,可作为本模组的模板使用。
- Fletching by Dcqout - 用于箭矢制作台。
- Inventory+ by Dcqout - 尚未准备好,但它是一个使用该模组的纹理包,有些人已经离不开它了(包括我在内 ?)
未来计划
目前仅发布了 Beta 2 预览版,我正在等待我的另一个允许扩展库存大小的模组审核通过后,再发布下一个版本。
Container Core
Container Core lets you reshape Minecraft's inventory and container screens by editing simple text files, so, no modding experience required. 'Chests, the crafting table, the anvil, the creative menu, and more' can all be restyled, rearranged, or reimagined without touching a line of Java :D i'm finally close to a release
Just imagine it: the GIF below shows your character (can be your mounted animal or any mob) that turns to face your cursor. It's the usual mob preview you see in the survival
inventory, but you control where it sits and what mob to use, at any screen, mid game, all from a json text file. (the gif is from a very old version)
Click me!!!
It's easy to use
- You don't need to be a developer. Everything is plain JSON inside a resource pack. Move a slot, change a panel, drop in sprites, simply by editing text. (Screens without a json file open as vanilla.)
- Changes show up instantly. Press F3+T in-game and your edits just reload, it just works.
- It gets along with other packs. Textures and objects stack cleanly, so your tweaks can sit alongside other resource packs.
- Lots to build with. some ready-made widgets and simple elements, there's even layouts for all ~23 vanilla container types inside [Vanilla Defaults].
For mod developers
You know authors get the JSON layer, but the engine opens up if you're writing a mod, from your code you can register new objects and elements, define custom show/hide conditions, and add new container screens all through Container Core's Java API. That means an add-on mod can contribute its own objects for pack authors to drop into JSON, and other mods can drive their own menus through it. (A few already do see below.)
Getting started
There's the wiki, with step-by-step guides and documentation:
Already using Container Core
A few projects build on it:
- Vanilla Defaults by Dcqout - reworks vanilla through JSONs you can edit, use it as a template for this mod.
- Fletching by Dcqout - uses it for the Fletching table.
- Inventory+ by Dcqout - not yet ready, but it's a texture pack using this mod, some people can't play without it anymore(me included ?)
What is to come
For now only a beta 2 preview is released, i'm holding the next version til my mod that let's you expand the inventory size is reviewed.
评论 0
登录后参与评分
还没有评论,来抢沙发吧