Humility VAL

Humility VAL

Small MC version agnosic library to help mods support multiple MC versions at once

36 downloads
1 followers

HumilityVAL

Humility - Version Agnostic Library

Small library focused on performance, bridging some differences between older and newer MC versions, to make supporting multiple MC versions easier.

HumilityVAL ecosystem consists of:

  • this Minecraft mod library
  • separate optional IntelliJ IDEA plugin found here WIP
  • custom optional preconfigured project template generator found here WIP
  • custom semi-optional version of BSL to AGPL licence found here WIP

Full development documentation can be found here WIP

Current features

Almost no overhead by making the abstraction logic handled in compile time as much as possible and designing everything else to have as little overhead as possible.

Supported Minecraft versions:

  • 26.2
  • 26.1.2
  • 1.21.11
  • 1.21.8
  • 1.21.6
  • 1.21.4
  • 1.21.1
  • 1.20.6
  • 1.20.4
  • 1.20.1

Minecraft version agnostic features:

  • common
    • Block Registration
    • Item Registration
    • Level's build limit getter
    • Player chat message sending
    • Block Entity NBT/Data Component saving and loading
  • client
    • Block Entity Renderer Registration
    • Safe way of assigning block render layers in older MC versions
  • gametest
    • GameTestHelper True and False assertions

Plus Math.clamp(...) port to JAVA 17

Roadmap

  • documentation