示例#1
0
 @Override
 public String getItemStackDisplayName(ItemStack stack) {
   return StatCollector.translateToLocal(DarkCore.MOD_ID.toLowerCase() + "." + name);
 }
示例#2
0
 public ItemDC(String name) {
   this.name = name;
   setCreativeTab(DarkCore.tab);
   setTextureName(DarkCore.MOD_ID.toLowerCase() + ":" + name);
   GameRegistry.registerItem(this, name);
 }