跳到正文

EzLib

An easy helper library for Ez client-side Fabric mods.

收藏

截图

介绍

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

EzLib

EzLib

EzLib is an easy helper library for Ez client-side Fabric mods.

It helps developers create client-side QoL mods faster by providing simple helper APIs for logging, configs, colors, player checks, inventory checks, items, math, and more.


Features

  • EzLogger — simple logging helper
  • EzConfig — JSON config helper
  • EzColor — ready-to-use color constants
  • EzOutline — outline/color helper
  • EzClient — Minecraft client/player/world helper
  • EzMath — useful math helpers
  • EzItem — ItemStack/item checks
  • EzInventory — inventory search helpers
  • EzPlayer — player state helpers
  • Basic helper API for future Ez mods

Example

EzLogger.info("This mod is using EzLib!");

For developers

To use EzLib in your mod, add JitPack to your settings.gradle.

dependencyResolutionManagement {
    repositories {
        maven {
            name = "Fabric"
            url = "https://maven.fabricmc.net/"
        }

        maven {
            name = "JitPack"
            url = "https://jitpack.io"
        }

        mavenCentral()
    }
}

Then add EzLib to your build.gradle dependencies.

dependencies {
    implementation "com.github.ItsRaphaelakos:EzLib:1.0.4"
}

And add EzLib to your fabric.mod.json dependencies.

"depends": {
  "fabricloader": ">=0.19.2",
  "fabric-api": ">=0.148.0+26.1.2",
  "minecraft": "26.1.2",
  "ezlib": ">=1.0.4"
}

Compatibility

  • Minecraft: 26.1.2
  • Fabric Loader: 0.19.2
  • Fabric API: 0.148.0+26.1.2
  • Java: 25

Links

常见问题

EzLib 支持哪些 Minecraft 版本?

EzLib 支持 Minecraft Java 版 26.1–26.1.2,共 3 个版本,可用的加载器:Fabric。下载时注意选择和你游戏版本一致的文件。

EzLib 怎么安装?

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

评论

登录后评论和评分

TheRealRaphael 的其他作品

查看全部 →