跳到正文

Mob Info Common

作者:AshuraNoYami

The shared mob-information library behind Pseudocore and Tensura Jade, handling variant names and Tensura's analysis rules. For the Tensura RPG pack.

收藏

介绍

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

Mob Info Common

The shared mob-information library behind Pseudocore and Tensura Jade.
On its own it adds nothing you can see in game.

What it provides

  • Variant-qualified names. The library turns a mob’s stored variant into
    readable words, so a captured direwolf reads Red Fang Direwolf and a dragon
    Emerald Fire Dragon. It covers Tensura, Ice and Fire, Mobs of Mythology and
    Mysticism, and falls back to the plain species name when a variant cannot be
    read, including for mobs whose mod was removed after they were captured.
  • Analysis gating. The library applies the same rules Tensura’s own analysis
    overlay uses: who may see analysed information, and how high EP figures blur
    beyond the reader’s grasp. Both addons gate with these rules, so neither
    becomes a way around Tensura’s balance.

Every mod the library reads is optional at runtime. Without them it resolves
nothing, and the addons that depend on it keep working without the features
those mods would have fed.

Dependencies

Mod Why
Required Minecraft –
Required NeoForge –
Optional Tensura: Reincarnated Variant enums and the analysis rules
Optional ManasCore Tensura’s library; present whenever Tensura is
Optional Mobs of Mythology Drake and sporeling variant names
Optional Mysticism Okami variant names

Using this library

Mods in this suite consume it as a Maven dependency from the org’s GitHub
Packages registry:

repositories {
    maven {
        url = uri('https://maven.pkg.github.com/HexaHexes/mob-info-common')
        credentials {
            username = System.getenv('GITHUB_ACTOR')
            password = System.getenv('GITHUB_TOKEN') // read:packages
        }
    }
}

dependencies {
    compileOnly 'org.bitwisemadness.mobinfocommon:mob_info_common:<version>'
}

Reads on GitHub Packages always require authentication. In CI the token needs
packages: read; the workflow token of one repository cannot read a package
owned by another, so a read token is supplied as a secret. A pack that ships
Pseudocore or Tensura Jade needs this library too.

Publication happens when a GitHub release is published: the Publish workflow
builds and uploads the artifact under the version in gradle.properties.

Credits

Bitwise Madness.

License

GNU Lesser General Public License v2.1 – see LICENSE.

AI disclosure

Parts of this project were written with the assistance of AI coding tools.
AI-assisted code, data and documentation ship only after human review by the
maintainers.

常见问题

Mob Info Common 支持哪些 Minecraft 版本?

Mob Info Common 支持 Minecraft Java 版 1.21.1,可用的加载器:NeoForge。下载时注意选择和你游戏版本一致的文件。

Mob Info Common 怎么安装?

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

评论

登录后评论和评分

AshuraNoYami 的其他作品

查看全部 →