Community listing page, reviews here may not be monitored by the author.
XunLib
No reviews yet
A common code library designed to ease mod dev
Provides a framework or library for other mods to use.
Forge is a popular mod loader for versions 1.1+ of Minecraft.
Neoforge is a fork of the Minecraft Forge available for versions 1.20.1+ of Minecraft. Many Forge mods are compatible with Neoforge and vice versa.
Fabric is a mod loader for versions 1.14+ of Minecraft, particularly popular for client side and optimization mods.
Community voices
Reviews
Filters
Click once to include, again to exclude, again to clear
No reviews yet. Be the first to review this project!
Get it on
Available Platforms
Compatibility
Supported Environments
Must be installed on both the client and the server.
About
Project Details
For authors
Embed Badge
If you're the author of this project, you can embed a live badge anywhere that supports HTML or Markdown. It updates automatically whenever ratings change.
Use HTML for any page that supports it, or Markdown for README files and Markdown-based descriptions.
Identifiers
Platform IDs
Resources
External Links
About
Description
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.
Data Automation
@PersistentNbtannotation for auto-serializing block entity data.INbtAdapterfor custom NBT serialization logic.
Registration System
- Adding custom items, blocks, and entities in the common module for easing multi-loader development.
Support and Feedbacks
If you find it useful and want to support this project, considering Buy Me a Coffee.
If you found any issue, please report an issue on my Github page!
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.
Screenshots
Gallery
Versions
Files
Relations
Project Relations
More like this
Similar Mods
Suggestions use data such as tags, dependencies, dependents, descriptions, titles, and more to rank how much they overlap with this mod.
On ModDex
Community snapshot
By the numbers
Statistics
Want to reach Minecraft players?
We're looking for a server hosting partner to feature here and other parts of the site. Interested? Send us a message!
Get in touchGet it on
Available Platforms
On ModDex
Community snapshot
By the numbers
Statistics
Resources