示例#1
0
 @SuppressWarnings({"all"})
 // @Override (client only)
 public void addInformation(ItemStack itemstack, List list) {
   BptBase bpt = BuildCraftBuilders.getBptRootIndex().getBluePrint(itemstack.getItemDamage());
   if (bpt != null) {
     list.add(bpt.getName());
   }
 }
示例#2
0
 @Override
 public int getIconFromDamage(int i) {
   BptBase bpt = BuildCraftBuilders.getBptRootIndex().getBluePrint(i);
   if (bpt == null) {
     return 5 * 16 + 2;
   } else {
     return 5 * 16 + 3;
   }
 }