예제 #1
0
 static {
   addMapping(net.minecraft.src.EntityItem.class, "Item", 1);
   addMapping(net.minecraft.src.EntityXPOrb.class, "XPOrb", 2);
   addMapping(net.minecraft.src.EntityPainting.class, "Painting", 9);
   addMapping(net.minecraft.src.EntityArrow.class, "Arrow", 10);
   addMapping(net.minecraft.src.EntitySnowball.class, "Snowball", 11);
   addMapping(net.minecraft.src.EntityFireball.class, "Fireball", 12);
   addMapping(net.minecraft.src.EntitySmallFireball.class, "SmallFireball", 13);
   addMapping(net.minecraft.src.EntityEnderPearl.class, "ThrownEnderpearl", 14);
   addMapping(net.minecraft.src.EntityEnderEye.class, "EyeOfEnderSignal", 15);
   addMapping(net.minecraft.src.EntityPotion.class, "ThrownPotion", 16);
   addMapping(net.minecraft.src.EntityExpBottle.class, "ThrownExpBottle", 17);
   addMapping(net.minecraft.src.EntityTNTPrimed.class, "PrimedTnt", 20);
   addMapping(net.minecraft.src.EntityFallingSand.class, "FallingSand", 21);
   addMapping(net.minecraft.src.EntityMinecart.class, "Minecart", 40);
   addMapping(net.minecraft.src.EntityBoat.class, "Boat", 41);
   addMapping(net.minecraft.src.EntityLiving.class, "Mob", 48);
   addMapping(net.minecraft.src.EntityMob.class, "Monster", 49);
   addMapping(net.minecraft.src.EntityCreeper.class, "Creeper", 50, 0xda70b, 0);
   addMapping(net.minecraft.src.EntitySkeleton.class, "Skeleton", 51, 0xc1c1c1, 0x494949);
   addMapping(net.minecraft.src.EntitySpider.class, "Spider", 52, 0x342d27, 0xa80e0e);
   addMapping(net.minecraft.src.EntityGiantZombie.class, "Giant", 53);
   addMapping(net.minecraft.src.EntityZombie.class, "Zombie", 54, 44975, 0x799c65);
   addMapping(net.minecraft.src.EntitySlime.class, "Slime", 55, 0x51a03e, 0x7ebf6e);
   addMapping(net.minecraft.src.EntityGhast.class, "Ghast", 56, 0xf9f9f9, 0xbcbcbc);
   addMapping(net.minecraft.src.EntityPigZombie.class, "PigZombie", 57, 0xea9393, 0x4c7129);
   addMapping(net.minecraft.src.EntityEnderman.class, "Enderman", 58, 0x161616, 0);
   addMapping(net.minecraft.src.EntityCaveSpider.class, "CaveSpider", 59, 0xc424e, 0xa80e0e);
   addMapping(net.minecraft.src.EntitySilverfish.class, "Silverfish", 60, 0x6e6e6e, 0x303030);
   addMapping(net.minecraft.src.EntityBlaze.class, "Blaze", 61, 0xf6b201, 0xfff87e);
   addMapping(net.minecraft.src.EntityMagmaCube.class, "LavaSlime", 62, 0x340000, 0xfcfc00);
   addMapping(net.minecraft.src.EntityDragon.class, "EnderDragon", 63);
   addMapping(net.minecraft.src.EntityPig.class, "Pig", 90, 0xf0a5a2, 0xdb635f);
   addMapping(net.minecraft.src.EntitySheep.class, "Sheep", 91, 0xe7e7e7, 0xffb5b5);
   addMapping(net.minecraft.src.EntityCow.class, "Cow", 92, 0x443626, 0xa1a1a1);
   addMapping(net.minecraft.src.EntityChicken.class, "Chicken", 93, 0xa1a1a1, 0xff0000);
   addMapping(net.minecraft.src.EntitySquid.class, "Squid", 94, 0x223b4d, 0x708899);
   addMapping(net.minecraft.src.EntityWolf.class, "Wolf", 95, 0xd7d3d3, 0xceaf96);
   addMapping(net.minecraft.src.EntityMooshroom.class, "MushroomCow", 96, 0xa00f10, 0xb7b7b7);
   addMapping(net.minecraft.src.EntitySnowman.class, "SnowMan", 97);
   addMapping(net.minecraft.src.EntityOcelot.class, "Ozelot", 98, 0xefde7d, 0x564434);
   addMapping(net.minecraft.src.EntityIronGolem.class, "VillagerGolem", 99);
   addMapping(net.minecraft.src.EntityVillager.class, "Villager", 120, 0x563c33, 0xbd8b72);
   addMapping(net.minecraft.src.EntityEnderCrystal.class, "EnderCrystal", 200);
 }
예제 #2
0
 /** Adds a entity mapping with egg info. */
 private static void addMapping(Class par0Class, String par1Str, int par2, int par3, int par4) {
   addMapping(par0Class, par1Str, par2);
   entityEggs.put(Integer.valueOf(par2), new EntityEggInfo(par2, par3, par4));
 }
예제 #3
0
  static {
    addMapping(EntityItem.class, "Item", 1);
    addMapping(EntityXPOrb.class, "XPOrb", 2);
    addMapping(EntityPainting.class, "Painting", 9);
    addMapping(EntityArrow.class, "Arrow", 10);
    addMapping(EntitySnowball.class, "Snowball", 11);
    addMapping(EntityLargeFireball.class, "Fireball", 12);
    addMapping(EntitySmallFireball.class, "SmallFireball", 13);
    addMapping(EntityEnderPearl.class, "ThrownEnderpearl", 14);
    addMapping(EntityEnderEye.class, "EyeOfEnderSignal", 15);
    addMapping(EntityPotion.class, "ThrownPotion", 16);
    addMapping(EntityExpBottle.class, "ThrownExpBottle", 17);
    addMapping(EntityItemFrame.class, "ItemFrame", 18);
    addMapping(EntityWitherSkull.class, "WitherSkull", 19);
    addMapping(EntityTNTPrimed.class, "PrimedTnt", 20);
    addMapping(EntityFallingSand.class, "FallingSand", 21);
    addMapping(EntityMinecart.class, "Minecart", 40);
    addMapping(EntityBoat.class, "Boat", 41);
    addMapping(EntityLiving.class, "Mob", 48);
    addMapping(EntityMob.class, "Monster", 49);
    addMapping(EntityCreeper.class, "Creeper", 50, 894731, 0);
    addMapping(EntitySkeleton.class, "Skeleton", 51, 12698049, 4802889);
    addMapping(EntitySpider.class, "Spider", 52, 3419431, 11013646);
    addMapping(EntityGiantZombie.class, "Giant", 53);
    addMapping(EntityZombie.class, "Zombie", 54, 44975, 7969893);
    addMapping(EntitySlime.class, "Slime", 55, 5349438, 8306542);
    addMapping(EntityGhast.class, "Ghast", 56, 16382457, 12369084);
    addMapping(EntityPigZombie.class, "PigZombie", 57, 15373203, 5009705);
    addMapping(EntityEnderman.class, "Enderman", 58, 1447446, 0);
    addMapping(EntityCaveSpider.class, "CaveSpider", 59, 803406, 11013646);
    addMapping(EntitySilverfish.class, "Silverfish", 60, 7237230, 3158064);
    addMapping(EntityBlaze.class, "Blaze", 61, 16167425, 16775294);
    addMapping(EntityMagmaCube.class, "LavaSlime", 62, 3407872, 16579584);
    addMapping(EntityDragon.class, "EnderDragon", 63);
    addMapping(EntityWither.class, "WitherBoss", 64);
    addMapping(EntityBat.class, "Bat", 65, 4996656, 986895);
    addMapping(EntityWitch.class, "Witch", 66, 3407872, 5349438);
    addMapping(EntityPig.class, "Pig", 90, 15771042, 14377823);
    addMapping(EntitySheep.class, "Sheep", 91, 15198183, 16758197);
    addMapping(EntityCow.class, "Cow", 92, 4470310, 10592673);
    addMapping(EntityChicken.class, "Chicken", 93, 10592673, 16711680);
    addMapping(EntitySquid.class, "Squid", 94, 2243405, 7375001);
    addMapping(EntityWolf.class, "Wolf", 95, 14144467, 13545366);
    addMapping(EntityMooshroom.class, "MushroomCow", 96, 10489616, 12040119);
    addMapping(EntitySnowman.class, "SnowMan", 97);
    addMapping(EntityOcelot.class, "Ozelot", 98, 15720061, 5653556);
    addMapping(EntityIronGolem.class, "VillagerGolem", 99);
    addMapping(EntityVillager.class, "Villager", 120, 5651507, 12422002);
    /** CARTASIANE START */
    addMapping(EntityMagicFire.class, "MagicFire", 122);
    addMapping(EntityDemon.class, "Demon", 121, 11013646, 3407872);

    // stop

    addMapping(EntityEnderCrystal.class, "EnderCrystal", 200);
  }