OSDN Git Service

ファイルパス色々変更。
[chemicraft/chemicraft.git] / common / pcc / chemicraft / base / ChemiCraftRegisterItem.java
1 package pcc.chemicraft.base;
2
3 import pcc.chemicraft.base.item.ItemAtomsGrenade;
4 import pcc.chemicraft.base.item.ItemBlackSmoke;
5 import pcc.chemicraft.base.item.ItemDust;
6 import pcc.chemicraft.base.item.ItemOreSerarcher;
7 import pcc.chemicraft.base.item.ItemRadiationBallet;
8 import pcc.chemicraft.base.item.ItemRadiationGun;
9
10 /**
11  * アイテムを追加します
12  * @author mozipi,ponkotate
13  */
14 public class ChemiCraftRegisterItem extends ChemiCraftBaseRegister {
15
16         public ChemiCraftRegisterItem(ChemiCraftBase mod) {
17                 super(mod);
18         }
19
20         @Override
21         public void start() {
22                 //アイテムを変数に代入
23                 this.mod.itemAtomGrenade = new ItemAtomsGrenade(this.mod.atomGrenadeID).setUnlocalizedName("AtomsGrenade");
24                 this.mod.itemDust = new ItemDust(this.mod.dustID).setUnlocalizedName("dust");
25                 this.mod.itemRadiationGun = new ItemRadiationGun(this.mod.radiationGunID).setUnlocalizedName("RadiationGun");
26                 this.mod.itemRadiationBallet = new ItemRadiationBallet(this.mod.radiationBalletID).setUnlocalizedName("RadiationBallet");
27                 this.mod.itemBlackSmoke = new ItemBlackSmoke(this.mod.blackSmokeID).setUnlocalizedName("BlackSmoke");
28                 this.mod.itemOreSearcher = new ItemOreSerarcher(this.mod.oreSerarcherID).setUnlocalizedName("oreSearcher");
29
30                 //名前を登録&Minecraftに登録
31                 this.mod.nameAuxiliary.addName(this.mod.itemAtomGrenade, "AtomGrenade");
32                 this.mod.nameAuxiliary.addName(this.mod.itemAtomGrenade, "ja_JP", "元素手榴弾");
33                 this.mod.nameAuxiliary.addName(this.mod.itemDust, "dust");
34                 this.mod.nameAuxiliary.addName(this.mod.itemDust, "ja_JP", "粉塵");
35                 this.mod.nameAuxiliary.addName(this.mod.itemRadiationGun, "RadiationGun");
36                 this.mod.nameAuxiliary.addName(this.mod.itemRadiationGun, "ja_JP", "放射線銃");
37                 this.mod.nameAuxiliary.addName(this.mod.itemRadiationBallet, "RadiationBallet");
38                 this.mod.nameAuxiliary.addName(this.mod.itemRadiationGun, "ja_JP", "放射線弾");
39                 this.mod.nameAuxiliary.addName(this.mod.itemBlackSmoke, "BlackSmoke");
40                 this.mod.nameAuxiliary.addName(this.mod.itemBlackSmoke, "ja_JP", "黒煙");
41                 this.mod.nameAuxiliary.addName(this.mod.itemOreSearcher, "OreSearcher");
42                 this.mod.nameAuxiliary.addName(this.mod.itemOreSearcher, "ja_JP", "鉱石情報探知機");
43         }
44
45 }