KapLib

KapLib

Mod

Library for all purposes

Client and server Game MechanicsLibraryManagementUtility

3,900 downloads
2 followers
Follow Save
Filter loader...
Filter versions...
Filter channels...

Added

  1. FlipX and FlipY texture converters for TextureProvider
  2. EnchantmentHelperExtras#getEnchantmentLevelAndDo with Living overload

Fixed

  1. ExtraEnchantmentEffectComponents#BOW and #BOW_SPAWN not usable

Fixed

  1. EnchantmentBowEffect#write not used
  2. ExtraEnchantmentEffectComponents#COUNT not being usable due to wrong type
  3. DamageIndicatorParticle not showing correctly

Moved

  1. MiscHelper#repairPlayerItems to EnchantmentHelperExtras#repairPlayerItems
  2. MiscHelper#getEnchantmentLevelAndDo to EnchantmentHelperExtras#...

Uncategorized

  1. renamed EnchantmentHelper into EnchantmentHelperExtras to avoid confusion with vanilla EnchantmentHelper class
  2. cleanup code: removed unnecessary registries
  3. renamed ExtraEnchantmentEffectComponents#BOW_TICK -> BOW

Added

  1. EnchantmentHelperExtras#bow for simpler bow definition
  2. EnchantmentHelperExtras#getEnchantmentLevelAndDo overload taking a RegistryAccess and ResourceKey instead of holder

Uncategorized

  1. Overlay#render now takes a Gui instead of ForgeGui
  2. renamed NetworkHelper to ExtraStreamCodecs to better represent its purpose
  3. renamed CountEnchantment to EnchantmentCountEffect
  4. renamed publish_config.json$fml_version -> loader_version
  5. renamed BaseAttributeUUIDs to BaseAttributeLocations

Moved

  1. ExtraCodecs.BONUS -> Bonus.CODEC
  2. WearableSlot's #is method to take a Holder<WearableSlot> instead of Supplier<WearableSlot>
  3. BaseAttributeUUIDs from ./item to ./util/attribute

Removed

  1. ExtraCodecs.DATA_SOURCE in favour of DataSource.CODEC
  2. IUltimateEnchantment. use EnchantmentHelper#ultimate instead and add it to the tradable tag
  3. IDatagenElement as it wasn't useful anymore
  4. IArmorEnchantment, IToolEnchantment, IWeaponEnchantment
  5. StatBoost and ArmorStatBoost enchantment in favour of EnchantmentAttributeEffect
  6. ExtraCodecs.COMPONENT in favour of ComponentSerialization.CODEC
  7. Capability Provider and Abstract Capability
  8. ExtraCodecs.EFFECT in favour of MobEffectInstance.CODEC
  9. requests. handle that yourself
  10. attribute modifier registry as it was not usable anymore
  11. TextHelper#makeDescriptionId(Item). use Item#getDescriptionId already
  12. AbstractTridentClass
  13. ExtraEnchantmentCategories as EnchantmentCategories have been removed
  14. SimpleToolEnchantment. use EquipmentSlotGroup.HAND instead
  15. ARROW_COUNT attribute
  16. MiscHelper#getSlotForStack. use ItemStack#getEquipmentSlot instead
  17. ExtendedCalculationEnchantment in favour of EnchantmentEntityEffect
  18. ExtendedAbilityEnchantment in favour of EnchantmentEntityEffect
  19. EffectApplicationEnchantment in favour of ApplyMobEffect
  20. BasedAttributeUUIDs. use IAttributeExtension#getBaseId instead
  21. SimplePacket. use Neoforge's registration instead
  22. SyncCapabilityToPlayer and -Block Packets
  23. DATA_SOURCE_TYPES registry as it wasn't used anymore

Added

  1. TextureProvider. creates textures

Fixed

  1. a bug where the inventory 2x2 crafting wouldn't consume ingredients
  2. a bug where the game would crash when entities get removed

Uncategorized

  1. renamed ExtraAttributes.ABILITY_DAMAGE -> MAGIC_DAMAGE

Added

  1. TextureProvider used to data generate textures. see it's documentation for more details

Fixed

  1. Crossbow Enchantment Applicable using wrong texture
  2. Enchantment Applicable using wrong font and removed the JSON font provider
  3. double jump not reducing damage from falling

Removed

  1. PlayerHeadAllocator debug saving

Added

  1. fallback for chat player heads

Fixed

  1. Crossbow Enchantment Applicable using wrong texture
  2. Enchantment Applicable using wrong font and removed the JSON font provider
  3. double jump not reducing damage from falling

Fixed

  1. Crossbow Enchantment Applicable using wrong texture
  2. Enchantment Applicable using wrong font and removed the JSON font provider

Uncategorized

  1. reworked Enchantment applicable chars to be directly on the Block Atlas

Fixed

  1. game crashing when a player dies
  2. Intelligence translation key being wrong

Uncategorized

  1. deprecated ExtraCodecs#UUID. use UUIDUtil#STRING_CODEC instead.

Fixed

  1. SimplePacket's handle method returning boolean although not required
  2. AttributeHelper overwriting speed modifiers to MULTIPLY_BASE
  3. Cooldowns becoming de-synced over time

Fixed

  1. ArmorRecipe not working as intended

Uncategorized

  1. renamed generic types in BlockEntityMenu and BlockEntityScreen to better fit their purpose
  2. renamed BlockEntityScreen's constructor parameters to more resemble what they are doing

Fixed

  1. alt not working to view item's NBT

Removed

  1. CompoundPath as it fit no purpose

Uncategorized

  1. marked the player argument in ExtendedItem#appendHoverTextWithPlayer to be @Nullable

Fixed

  1. CustomStatReqCondition not being network portable due to the same issue as before

Uncategorized

  1. renamed Overlay#render method's parameter to more resemble their purpose
  2. reworked Cooldowns

Fixed

  1. CustomStatReqCondition not usable due to reference restrictions

Fixed

  1. fatal crash with invalid FishingHookMixin

Added

  1. onMouseDragged, onMouseReleased and onMouseScrolled methods to InventoryPageRenderer
  2. Wisdom attribute, which increases experience gained from combat and mining
  3. button argument to onMouseClicked

Uncategorized

  1. LibSwordItem#getDamageType is no longer abstract and returns DamageTypes#PLAYER_ATTACK by default

Uncategorized

  1. test items will now appear when gametest is enabled
  2. renamed ModMenu to BlockEntityMenu and ModScreen to BlockEntityScreen

Added

  1. mouseClicked hook to InventoryPageRenderer

Fixed

  1. DamageCounter using double to store damage, not float
  2. creative mode-inventory survival inventory not working

Added

  1. BonusRemovedTerminator animation terminator

Moved

  1. particle animation terminators to trigger based instead of lookup based

Fixed

  1. Bonus#onTakeDamage, #onEntityHurt not modifying damage

Fixed

  1. Bonus#onEntityKilled, #onEntityHurt and #onTakeDamage not working
  2. pixel issue in empty_belt_slot

Removed

  1. Totem checking player health

Known Errors

  1. arrows flying all over the place on servers

Added

  1. IWearables to declare their slot instead of using tags
  2. WearableItem, an overload for the IWearable item interface

Fixed

  1. wearable slots appearing in creative inventory

Project members

Kapitencraft

Owner

Details

Licensed ARR
Published a year ago
Updated 8 hours ago