OSDN Git Service

381ef008cd1d851c537f0d0de908570c51a6353b
[chemicraft/chemicraft.git] / common / pcc / chemicraft / base / ChemiCraftRegisterEntitys.java
1 package pcc.chemicraft.base;
2
3 import net.minecraft.src.ModLoader;
4 import pcc.chemicraft.base.entity.EntityDust;
5 import cpw.mods.fml.common.registry.EntityRegistry;
6 import cpw.mods.fml.common.registry.LanguageRegistry;
7
8 public class ChemiCraftRegisterEntitys extends ChemiCraftBaseRegister {
9
10         public ChemiCraftRegisterEntitys(ChemiCraftBase 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 }