This commit is contained in:
gigabit101 2016-03-07 17:26:15 +00:00
commit 516e64792c
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
}
}