
KapLib
Library for all purposes
- Загрузки
- 11K
- Подписчики
- 3
- Обновлён
- 15 февраля 2026 г.
- Лицензия
- All-Rights-Reserved
Опубликован 20 июля 2024 г.
Large Lib adding a lot of features:
- a multi-line GUI textbox with color formatting
- a lot of helper classes reducing efford for networking, serialization, attribute modifiers
- new attributes like crit damage, draw & projectile speed, as well as double jump
- new Rarities including LEGENDARY, MYTHIC and DIVINE
- simple requirement system disabling any usage (dealing damage, blocking, mining...)
- simple fishing hook system, even for other liquids
- simple screen overlay handler with changable screen locations
- more command arguments including Equipmentslots and simple Enums
- for newer versions a fully customizable particle animation system
- many wrapper classes reducing efford when creating new enchantments
- a modrinth update checker
Ченджлог
v1.31.0-mc1.21.1Релиз1.21.1 · 15 февраля 2026 г.
Additions
added RegisterBonusProvidersEvent.EntityBound registering bonuses that are bound to the entity itself instead of an item
added Codecs to all available Text converters
added CameraPos shader Uniform
added RequirementTypes.BLOCK suppressing place and interactions
added AttackerEmptyOffhand loot condition
added BehindEntity loot condition
added Page Renderer Titles when hovering
Fixes
fixed a bug where modules not providing any resources would be attached all resources because of gradle shenanigans
fixed Particle Animation Particles appearing around 0|0|0 for a frame
fixed RingSpawner not rotating correctly
fixed DisplayExtensions (for EquipmentSlots) not working
fixed neither Camera animations nor shaking working
fixed CEC style modifiers being applied to enchantment display entries
fixed RotateElement behaving weird due to position issues
fixed RingSpawner not spawning correctly due to RAD <-> DEG mismatch
fixed many mixins not using MixinExtras
fixed incompatibility with Sodium due to mixin
fixed SetBonuses not updating when switching from item with correct bonus but wrong slot to item with correct bonus and correct slot
fixed BonusProvider set-bonus slot order being shuffled each time
Changes
moved many classes around to group them into their respective module
moved ClientHelper#addReqContent to RequirementManager#addReqContent
moved to Neoforge 1.21.216
renamed AbsolutePositionTarget to StaticPositionTarget
server mod config$disable_anvil_limit was renamed to anvil_limit and will now define the max XP level before cost gets too expensive (vanilla default: 40)
renamed RegisterBonusProvidersEvent to RegisterBonusProvidersEvent.ItemBound
renamed TextHelper#setHotbarDisplay to TextHelper#setActionbar
Bonus#onTakeDamage and #onEntityHurt now receive the DamageContainer object instead of only the DamageType and damage value
Removals
removed ExtraStreamCodecs#UUID in favor of UUIDUtil#STREAM_CODEC
removed MiscHelper$DamageType and associated methods.
removed MiscHelper#of in favor of Util#make
removed server config $ enable_social as it wasn't used.
removed OreModifier and dedicated Event
removed ExtraCodecs#UUID, replaced by UUIDUtils.STRING_CODEC
removed "ChunkPosition" Uniform in Block Render types.
removed book check in enchantment tooltip as ItemStack parameter has been lost
AutoPublish changes
reworked publish_config.json:
modrinth_id: modrinth-project-id.
author: mandatory
name: readable name of the author(s) of the project. mandatory
email: an email to contact you if modrinth has issues with your request. mandatory
mod: mandatory
id: the mod-id of the mod. mandatory
name: the name of the mod. mandatory
version: the version of the mod. mandatory
artifact_version: the base name extension for the files to be published. mandatory
mc_version: the used minecraft version of the project. mandatory<br>
loader_version: the used loader version of the project (neo, forge or fabric version). mandatory
with_sources: whether to include modules with `-sources` extension. boolean, optional, defaults to false
modules: optional, string list
each entry is the suffix of a file in the libs folder, nominating a file to be published alongside the main file
dependencies: optional, object list
modrinth_id: the modrinth id of this dependency
version_name: the used version of the dependency
type: the dependency type. one of [required, optional, incompatible, embedded]
changelog: optional (see entries)
format: one of [html, md, plain]. format to use in the changelog. optional, defaults to html
style: one of [list, none]. style to use. will either list the changelog by categories or will print it as plain, formatted text. optional, defaults to list
assets: optional (see entries) all entries are relative to the project folder
source: the path to the jar libs you wish to publish. defaults to build/libs
auth: the path to the authentification tokens. !threat with **EXTREME** caution! this information may allow others to upload files / create projects under your name. do not store anywhere synchronized. defaults to `run/AuthCache.txt`. ensure adding `run` to .gitignore to use
changelog: the path to the changelog file. defaults to 'publish/changelog.txt'
categories: the path to the categories file used in the `list` changelog style. default to 'publish/categories.json'
v1.30.3-mc1.21.1Релиз1.21.1 · 23 октября 2025 г.
Added
- ClientHelper#BOW_PULL ItemProperty. use when registering bow items ItemProperties (see KapLibModClientEvents for an example)
Fixed
- ExtraAttributes.RANGED_DAMAGE not being implemented
- ExtraAttributes.FISHING_SPEED not being implemented
v1.30.2-mc1.21.1Релиз1.21.1 · 21 октября 2025 г.
Fixed
- ExtraStreamCodecs#map being package-private
Added
- TextHelper#convertToLatin
v1.30.1-mc1.21.1Релиз1.21.1 · 20 октября 2025 г.
Fixed
- KapLib not loading correctly when adding ArmorRecipes due to bytebuf mismatch
Removed
- MiscHelper#repeat because wtf did it exist in the firstplace????
Uncategorized
- renamed CollectorHelper#createMap -> #toMap and #createMapForKeys -> #toMapForKeys
v1.30.0-mc1.21.1Релиз1.21.1 · 20 октября 2025 г.
Moved
- KapLibMod#RANDOM_SOURCE to MathHelper#RANDOM_SOURCE
- MathHelper#cooldown to AttributeHelper#cooldown
Uncategorized
- changed util module to not be needing the full jar at runtime. you should be able to use jar in jar to add the module
Fixed
- ArmorRecipe not working due to namespace not being preserved
v1.29.14-mc1.21.1Релиз1.21.1 · 18 октября 2025 г.
Fixed
- Mana regeneration bypassing max mana
- RegistrySerializer#unit not working due to StreamCodec#unit requiring identity equality
- ManaOverlay not being formatted correctly
v1.29.12-mc1.21.1Релиз1.21.1 · 17 октября 2025 г.
Fixed
- extra criterion triggers not being registered
v1.29.11-mc1.21.1Релиз1.21.1 · 17 октября 2025 г.
Fixed
- a crash where ArmorRecipeBuilder and UpgradeRecipeBuilder would not work correctly due to passing in null
Комментарии
Загружаем…