跳到正文

Boson

作者:TheSilkMiner

A simple yet powerful library mod for Forge, designed with Kotlin in mind

收藏

介绍

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

Boson is a (not so) small library mod designed to ease the creation of mods by providing some custom utilities and interfaces that other mods can rely on for their own libraries.
All TheSilkMiner’s mods (except for Fermion and where specified) require this mod in order to work.

For users

Even if this mod is a library mod, it also adds some non invasive content that may be interesting for the user experience.
Every alteration made to in-game content can be completely disabled through the configuration file.

Current functionality:

  • Loading screen has now a bigger resolution, telling you when and which registers are populated;
  • More informative tooltip, with NBT viewing, Ore dictionary entries, recipe information etc;
  • More powerful CraftTweaker APIs (such as Sequences for functional-programming-like behavior, or Reflection);

For developers

In addition to what has been said before in the Users part, Boson also offers some advantages for developers.

Kotlin vs Java disclaimer

This library has also been designed with Kotlin users in mind, which means that it makes heavy usage of DSLs, companions and so on.
For this reason, while it is possible to use this library with Java-based mods, it is highly suggested to look at other libraries. Kotlin users are welcomed, instead.

Current funcrtionality:

  • FMLLoadComplete has now a new companion event that fires before the mod switches to AVAILABLE;
  • Object Holders now notify when they are populated;
  • A new, DSL-based configuration framework;
  • A new OreDictionary system, based on 1.14 tags, that allows for a finer control and non-convention based names;
  • Automatic file loading from configurable locations, be it other mods, or other directories (JSON mainly);
  • Easier and more Object-Oriented SQL management;

And much more to come

常见问题

Boson 支持哪些 Minecraft 版本?

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

Boson 怎么安装?

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

评论

登录后评论和评分

TheSilkMiner 的其他作品

查看全部 →