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
@@ -169,18 +169,18 @@ public class Battleaxe extends HarvestTool
|
||||
@Override
|
||||
public ItemStack onItemRightClick (ItemStack stack, World world, EntityPlayer player)
|
||||
{
|
||||
//player.rotationYaw += 1;
|
||||
//if (player.onGround)
|
||||
//{
|
||||
// player.rotationYaw += 1;
|
||||
// if (player.onGround)
|
||||
// {
|
||||
player.setItemInUse(stack, this.getMaxItemUseDuration(stack));
|
||||
//}
|
||||
// }
|
||||
return stack;
|
||||
}
|
||||
|
||||
@Override
|
||||
public void onPlayerStoppedUsing (ItemStack stack, World world, EntityPlayer player, int useCount)
|
||||
{
|
||||
//if (player.onGround)
|
||||
// if (player.onGround)
|
||||
{
|
||||
int time = this.getMaxItemUseDuration(stack) - useCount;
|
||||
int boost = time / 100;
|
||||
|
||||
Reference in new issue
Block a user