mirror of
https://github.com/GTNewHorizons/TinkersConstruct.git
synced 2026-11-19 03:49:29 +00:00
Upload my Code Changes/Format/imports
This commit is contained in:
1 parent
5bcdb7ca46
commit
5d4e38c0cb
264 files changed
+4014
-3972
No files matched your search
@@ -129,15 +129,13 @@ public class Cleaver extends Weapon
|
||||
{
|
||||
entity.hurtResistantTime += 7;
|
||||
|
||||
/*if (entity instanceof EntityLiving)
|
||||
{
|
||||
EntityLiving living = (EntityLiving) entity;
|
||||
if (living.getHealth() <= 0)
|
||||
{
|
||||
|
||||
}
|
||||
}*/
|
||||
//if (entity.getHealth() <= 0)
|
||||
/*
|
||||
* if (entity instanceof EntityLiving) { EntityLiving living =
|
||||
* (EntityLiving) entity; if (living.getHealth() <= 0) {
|
||||
*
|
||||
* } }
|
||||
*/
|
||||
// if (entity.getHealth() <= 0)
|
||||
}
|
||||
return true;
|
||||
}
|
||||
@@ -156,12 +154,10 @@ public class Cleaver extends Weapon
|
||||
}
|
||||
}
|
||||
|
||||
/*@Override
|
||||
public boolean onEntitySwing (EntityLiving entity, ItemStack stack)
|
||||
{
|
||||
entity.swingProgressInt /= 2;
|
||||
return false;
|
||||
}*/
|
||||
/*
|
||||
* @Override public boolean onEntitySwing (EntityLiving entity, ItemStack
|
||||
* stack) { entity.swingProgressInt /= 2; return false; }
|
||||
*/
|
||||
|
||||
@Override
|
||||
public boolean willAllowOffhandWeapon ()
|
||||
|
||||
Reference in new issue
Block a user