fixed build
build / build (push) Has been cancelled

This commit is contained in:
2026-07-01 19:39:59 +01:00
parent 1c1362d6ea
commit 4536bc7304
3 changed files with 3 additions and 16 deletions
@@ -50,22 +50,6 @@ object Dragonite {
val SWORD = register("dragon_sword", ::DragoniteSword,
Item.Properties()
.sword(ToolMaterial.NETHERITE, 3.0F, -2.4F)
.component(DataComponents.BLOCKS_ATTACKS, BlocksAttacks(
0.25f, // 5 tick warmup
1.0f, // standard disable cooldown
listOf(
BlocksAttacks.DamageReduction(
90.0f, // horizontalBlockingAngle — 90° arc each side (180° total, same as vanilla)
Optional.empty(), // type — empty = blocks all damage types
0.0f, // base — flat damage reduction
1.0f // factor — multiplier (1.0 = block 100% of damage)
)
), // full block — check if this constant exists, else build the list manually
BlocksAttacks.ItemDamageFunction.DEFAULT, // check for this constant too
Optional.empty(), // no bypass
Optional.empty(), // default block sound
Optional.empty() // default disable sound
))
)
val HELMET = register(
"dragon_helmet",