OSDN Git Service

ファイルパス色々変更。
[chemicraft/chemicraft.git] / common / pcc / chemicraft / base / ChemiCraftRegisterItem.java
index fc60582..d90cb71 100644 (file)
@@ -3,6 +3,7 @@ package pcc.chemicraft.base;
 import pcc.chemicraft.base.item.ItemAtomsGrenade;
 import pcc.chemicraft.base.item.ItemBlackSmoke;
 import pcc.chemicraft.base.item.ItemDust;
+import pcc.chemicraft.base.item.ItemOreSerarcher;
 import pcc.chemicraft.base.item.ItemRadiationBallet;
 import pcc.chemicraft.base.item.ItemRadiationGun;
 
@@ -19,11 +20,12 @@ public class ChemiCraftRegisterItem extends ChemiCraftBaseRegister {
        @Override
        public void start() {
                //アイテムを変数に代入
-               this.mod.itemAtomGrenade = new ItemAtomsGrenade(this.mod.atomGrenadeID).setItemName("grenade").setIconIndex(1);
-               this.mod.itemDust = new ItemDust(this.mod.dustID).setItemName("dust").setIconIndex(12);
-               this.mod.itemRadiationGun = new ItemRadiationGun(this.mod.radiationGunID).setIconIndex(4).setItemName("RadiationGun");
-               this.mod.itemRadiationBallet = new ItemRadiationBallet(this.mod.radiationBalletID).setIconIndex(5).setItemName("RadiationBallet");
-               this.mod.itemBlackSmoke = new ItemBlackSmoke(this.mod.blackSmokeID).setIconIndex(7).setItemName("BlackSmoke");
+               this.mod.itemAtomGrenade = new ItemAtomsGrenade(this.mod.atomGrenadeID).setUnlocalizedName("AtomsGrenade");
+               this.mod.itemDust = new ItemDust(this.mod.dustID).setUnlocalizedName("dust");
+               this.mod.itemRadiationGun = new ItemRadiationGun(this.mod.radiationGunID).setUnlocalizedName("RadiationGun");
+               this.mod.itemRadiationBallet = new ItemRadiationBallet(this.mod.radiationBalletID).setUnlocalizedName("RadiationBallet");
+               this.mod.itemBlackSmoke = new ItemBlackSmoke(this.mod.blackSmokeID).setUnlocalizedName("BlackSmoke");
+               this.mod.itemOreSearcher = new ItemOreSerarcher(this.mod.oreSerarcherID).setUnlocalizedName("oreSearcher");
 
                //名前を登録&Minecraftに登録
                this.mod.nameAuxiliary.addName(this.mod.itemAtomGrenade, "AtomGrenade");
@@ -36,6 +38,8 @@ public class ChemiCraftRegisterItem extends ChemiCraftBaseRegister {
                this.mod.nameAuxiliary.addName(this.mod.itemRadiationGun, "ja_JP", "放射線弾");
                this.mod.nameAuxiliary.addName(this.mod.itemBlackSmoke, "BlackSmoke");
                this.mod.nameAuxiliary.addName(this.mod.itemBlackSmoke, "ja_JP", "黒煙");
+               this.mod.nameAuxiliary.addName(this.mod.itemOreSearcher, "OreSearcher");
+               this.mod.nameAuxiliary.addName(this.mod.itemOreSearcher, "ja_JP", "鉱石情報探知機");
        }
 
 }