mirror of
https://github.com/GTNewHorizons/TinkersConstruct.git
synced 2026-11-28 07:56:01 +00:00
Doing some code cleanup.
This commit is contained in:
1 parent
038be9da2a
commit
3d866316a7
199 files changed
+797
-381
No files matched your search
@@ -21,11 +21,13 @@ public class Longsword extends Weapon
|
||||
this.setUnlocalizedName("InfiTool.Longsword");
|
||||
}
|
||||
|
||||
@Override
|
||||
public EnumAction getItemUseAction (ItemStack par1ItemStack)
|
||||
{
|
||||
return EnumAction.bow;
|
||||
}
|
||||
|
||||
@Override
|
||||
public ItemStack onItemRightClick (ItemStack stack, World world, EntityPlayer player)
|
||||
{
|
||||
if (player.onGround)
|
||||
@@ -35,11 +37,13 @@ public class Longsword extends Weapon
|
||||
return stack;
|
||||
}
|
||||
|
||||
@Override
|
||||
public float chargeAttack ()
|
||||
{
|
||||
return 1.5f;
|
||||
}
|
||||
|
||||
@Override
|
||||
public void onPlayerStoppedUsing (ItemStack stack, World world, EntityPlayer player, int useCount)
|
||||
{
|
||||
/*
|
||||
|
||||
Reference in new issue
Block a user