
27
1
v1.1.1
release17 мая 2025 г.projectile.onSpawnandprojectile.onTravelnow execute from the projectile's position
v1.1.0
release17 мая 2025 г.Added the following functionality:
projectile.onSpawn: runs for a single tick when the projectile is spawnedprojectile.onTravel: runs for every tick the projectile is travelling
v1.0.0
release6 мая 2025 г.Initial release
Added the following functionality:
onUse: runs on item use when in mainhand (item must haveconsumablecomponent withconsume_seconds:2147483647,animation:"block")onShiftUse: runs on item use when in mainhand while sneaking (same requirements asonUse)onAttack: runs upon successfully attacking a mob when in mainhandonBlock: runs upon successfully blocking damage when held (item must haveblocks_attackcomponent (1.21.5+) or be a shield)onDamage: runs upon taking damage from a mob when held or wornprojectile.onHitMob: runs when a thrown or shot projectile from this item hits a mobprojectile.onHitBlock: runs when a thrown or shot projectile from this item hits a blockonHold: runs every tick when held or worn
Full Changelog: https://github.com/TheCodingFlygon/Cobalt-Core/commits/1.0.0
Совместимость
Minecraft: Java Edition
1.21.x
Платформы
Поддерживаемые окружения
Клиент и сервер
Создатели
Детали
Лицензия:MIT
Опубликован:10 месяцев назад
Обновлён:9 месяцев назад
