OSDN Git Service

大規模なソース仕様変更
[chemicraft/chemicraft.git] / common / pcc / chemicraft / ChemiCraftRegisterEntitys.java
1 package pcc.chemicraft;
2
3 import net.minecraft.src.ModLoader;
4 import pcc.chemicraft.entity.EntityDust;
5 import cpw.mods.fml.common.registry.EntityRegistry;
6 import cpw.mods.fml.common.registry.LanguageRegistry;
7
8 public class ChemiCraftRegisterEntitys extends ChemiCraftRegister {
9
10         public ChemiCraftRegisterEntitys(ChemiCraft mod) {
11                 super(mod);
12         }
13
14         @Override
15         public void start() {
16                 LanguageRegistry.instance().addStringLocalization("entity.Dust.name", "en_US", "Dust");
17                 EntityRegistry.registerModEntity(EntityDust.class,
18                                 "Dust",
19                                 ModLoader.getUniqueEntityId(),
20                                 this.mod,
21                                 250,
22                                 5,
23                                 true);
24         }
25
26 }