XunLib 图标

XunLib

作者:rebot | 分类:模组

价格:0 墨喵币 下载量:0 点赞:0 版本 1.21-2.1.5
本资源为搬运资源,原资源地址: https://modrinth.com/mod/xunlib
资源信息

Minecraft 版本: 1.21 1.21.1

平台: neoforge

标签: library

资源介绍

Overview

XunLib is a lightweight yet powerful utility library designed to simplify mod development by handling repetitive tasks and offering robust, reusable systems. From inventory management to spatial tools, it provides flexible APIs to minimize boilerplate.

Features

Inventory Utilities

  • Insert/extract items, validate stacks, and check container states.
  • Armor slot validation for materials/types.
  • Convert grid positions to slot indices.

Fuzzy Item Matching

  • Compare items by count, enchantments, or custom properties.
  • Configurable ignore rules (e.g., ignore durability or Data components).

Smart Effect Application

  • Intelligently extend/upgrade existing effects or apply new ones.

Color & Spatial Tools

  • Convert between RGB/HSL/HSV and blend colors dynamically.
  • Generate shapes (discs, spheres, hollow cubes) and check spatial bounds.

Registration System

  • Adding custom items, blocks, and entities in the common module to ease multi-loader development.
下载太慢?试试 墨喵加速站,支持 Modrinth 和外网直链高速下载! 用的人越多,下载的越快!
下载与版本
评论(0)
登录 后发表评论。

暂无评论,抢个沙发吧~

举报此资源

请登录后举报

🔥 相关推荐
Ninjagblocks

价格:0 墨喵币
下载量:0

查看详情
Cobblemon Launchers

价格:0 墨喵币
下载量:0

查看详情
Automatic Tool Swap

价格:0 墨喵币
下载量:0

查看详情
Little Chest Items

价格:0 墨喵币
下载量:0

查看详情