"Enhanced Stalinium items and effects. Increased speed, knockback resistance, and added attack speed to StaliniumChargeEffect for better combat utility. Adjusted StaliniumSwordItem cooldown and implemented ally boost effect on hit. Made all tools implement hurtEnemy for consistency. Removed unnecessary getMaxDamage overrides and kept items unbreakable. Minor cleanup in code formatting."
This commit is contained in:
@@ -1,5 +1,6 @@
|
||||
package net.krituximon.stalinium.item;
|
||||
|
||||
import net.minecraft.world.entity.LivingEntity;
|
||||
import net.minecraft.world.item.HoeItem;
|
||||
import net.minecraft.world.item.Item;
|
||||
import net.minecraft.world.item.ItemStack;
|
||||
@@ -11,8 +12,8 @@ public class StaliniumHoeItem extends HoeItem {
|
||||
}
|
||||
|
||||
@Override
|
||||
public int getMaxDamage(ItemStack stack) {
|
||||
return 2;
|
||||
public boolean hurtEnemy(ItemStack stack, LivingEntity target, LivingEntity attacker) {
|
||||
return true;
|
||||
}
|
||||
|
||||
@Override
|
||||
|
||||
Reference in New Issue
Block a user