跳到正文

Container Core

作者:dcqout

Create and customize containers with text files!

收藏

截图

介绍

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

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 😀 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!!!

Example

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:
https://github.com/dcqout/dcqinvcore/wiki

Already using Container Core

A few projects build on it:

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.

常见问题

Container Core 支持哪些 Minecraft 版本?

Container Core 支持 Minecraft Java 版 1.21.11,可用的加载器:Fabric。下载时注意选择和你游戏版本一致的文件。

Container Core 怎么安装?

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

评论

登录后评论和评分

dcqout 的其他作品

查看全部 →