import pcc.chemicraft.core.item.ItemGasCollectingBottle;
import pcc.chemicraft.util.OldItemFood;
+/**
+ * アイテムを追加します
+ * @author mozipi,ponkotate
+ */
public class ChemiCraftRegisterItem extends ChemiCraftCoreRegister {
public ChemiCraftRegisterItem(ChemiCraftCore mod) {
@Override
public void start() {
- /*
- * 代入
- */
+ //Itemを変数に代入
this.mod.itemAtoms = new ItemAtoms(this.mod.atomsID).setItemName("atoms");
this.mod.itemCompounds = new ItemCompounds(this.mod.compoundsID).setItemName("compounds");
this.mod.itemGasCollectingBottle = new ItemGasCollectingBottle(this.mod.gasCollectingBottleID).setItemName("gasCollectingBottle").setIconIndex(0);
}
}.setIconIndex(11).setCreativeTab(CreativeTabs.tabFood).setItemName("Pear");
- /*
- * 名前登録&Minecraftに登録
- */
+ //名前登録&Minecraftに登録
this.mod.nameAuxiliary.addName(this.mod.itemAtoms, ChemiCraftCore.ATOMSNAME);
this.mod.nameAuxiliary.addName(this.mod.itemAtoms, "ja_JP", ChemiCraftCore.ATOMSNAMEJP);
this.mod.nameAuxiliary.addName(this.mod.itemGasCollectingBottle, "GasCollectingBottle");