
Combat+ Core
The core library and compatibility layer for the Combat+ series.
72.6K
48
Список изменений
Major update to make the library compatible with 1.21.5
Additions
- New item data components:
- combat-plus:melee_weapon- Holds two floats, weapon damage and offhand damage.
- All Melee and Dual weapons are expected to use this data component.
- Combat+ mods can use this component to acquire damage values for callbacks (interface values from MeleeWeapon should always be preferred).
 
- combat-plus:cooldown_group- Takes an identifier and sets what group the item should use when on cooldown.
 
- combat-plus:max_use_time- Determines how many ticks an item can be used for.
- This component was moved from Dual Swords.
 
 
- New enchantment component type: data component enchantment effects!
- Enchantments can grant temporary data components to items.
- The component is added when the item is enchanted and lost when the enchantment is removed.
- Currently supports:
- Cooldown Group
- Max Use Time
- Blocks Attacks
 
 
- New attribute: Protection Effectiveness
- Treated as a multiplier, this determines how effective protection enchantments are on the entity.
- Default value of 1 (normal effectiveness).
 
Changes
- Callbacks for blocking attacks now accept a damage source instead of the attacking entity.
Bugfixes
- Tridents are no longer unbreakable with KeepLoyaltyTridents.
- When using KeepLoyaltyTridents, only tridents with Loyalty will go on cooldown.
Метаданные
Канал релиза
Release
Номер версии
4.0.0+1.21.5
Загрузчики
FabricQuilt
Версии игры
1.21.51.21.61.21.71.21.8
Загрузок
11.1K
Дата публикации
6 мес. назад