Middle click cables, calmed the nanosaber down.

This commit is contained in:
modmuss50 2016-03-07 17:25:03 +00:00
parent 080b633493
commit a9fed5d933
2 changed files with 7 additions and 1 deletions

View file

@ -13,6 +13,7 @@ import net.minecraft.block.state.BlockState;
import net.minecraft.block.state.IBlockState;
import net.minecraft.entity.Entity;
import net.minecraft.entity.EntityLivingBase;
import net.minecraft.entity.player.EntityPlayer;
import net.minecraft.item.ItemStack;
import net.minecraft.tileentity.TileEntity;
import net.minecraft.util.*;
@ -294,4 +295,9 @@ public abstract class CableMultipart extends Multipart implements IOccludingPart
public void onEntityStanding(Entity entity) {
}
@Override
public ItemStack getPickBlock(EntityPlayer player, PartMOP hit) {
return new ItemStack(TechRebornParts.cables, 1, getCableType().ordinal());
}
}

View file

@ -1,5 +1,5 @@
{
"animation":{
"frametime":1
"frametime":4
}
}