Compatibility
Minecraft: Java Edition
1.21.11
Platforms
Supported environments
Client and server
Tags
Creators
Details
Licensed ARR
Published yesterday
Updated last month
Arboreal -
Arboreal is a Minecraft modding library adding various features for ease of use when creating projects, aiming to keep the new features simple to understand and use while still keeping them powerful enough to be notable.
Arboreal Adds:
WorldUtilclass, providing several methods such as gettingEntitys around a point with a specified radius, playing a client-sided sound to anyServerPlayerEntity, and granting aTickCriterion.ItemUtilclass, providing several methods such as converting aprogressandmaxValueinteger pair into a usable integer for thegetItemBarStepmethod inItem, a simple attribute creation method for weapons, and creatingItemStacks with a presetComponentType.- An extendable
PacketNetworkclass which provides needed methods for packet registration, only needing to be initialized in the mod initializer. - The
Indexclass, which provides methods for making registration of objects easier. - Several event callbacks allowing for more client-sided functionality, such as
LeftClickCallback, which runs every time the player attacks. - A
Tooltipinterface, allowing for item tooltips to be created as once was done in older versions without needing to use a deprecated method. - Several new
TrackedDataHandlers. - A built-in
ownerAttachment. - Several event callbacks for interactions between entities under
WorldInteractionCallbacks.
Among many other features.
Along with much more planned for the project!
Misc. Credits -
AcoYTMC - Author of the formatString method from AcornLib, which Arboreal's ItemUtils#formatString was based on.
How To Implement Arboreal
In your build.gradle:
maven {
url = "https://api.modrinth.com/maven"
}
Into your build.gradle dependencies:
modImplementation "maven.modrinth:arboreal:ARBOREAL_VERISON"


