New Entities and Items for 1.2

This commit is contained in:
snowleo 2012-03-02 00:06:57 +01:00
parent f75779aa7a
commit 64d866a77d
3 changed files with 22 additions and 1 deletions

View File

@ -38,7 +38,9 @@ public enum Mob
BLAZE("Blaze", Enemies.ENEMY, EntityType.BLAZE),
MUSHROOMCOW("MushroomCow", Enemies.FRIENDLY, EntityType.MUSHROOM_COW),
MAGMACUBE("MagmaCube", Enemies.ENEMY, EntityType.MAGMA_CUBE),
SNOWMAN("Snowman", Enemies.FRIENDLY, "", EntityType.SNOWMAN);
SNOWMAN("Snowman", Enemies.FRIENDLY, "", EntityType.SNOWMAN),
OCELOT("Ocelot", Enemies.NEUTRAL, EntityType.OCELOT),
IRONGOLEM("IronGolem", Enemies.NEUTRAL, EntityType.IRON_GOLEM);
public static final Logger logger = Logger.getLogger("Minecraft");

View File

@ -271,5 +271,17 @@ public class Commandspawnmob extends EssentialsCommand
{
((Creeper)spawned).setPowered(true);
}
if (type == EntityType.OCELOT && data.equalsIgnoreCase("siamese"))
{
((Ocelot)spawned).setCatType(Ocelot.Type.SIAMESE_CAT);
}
if (type == EntityType.OCELOT && data.equalsIgnoreCase("red"))
{
((Ocelot)spawned).setCatType(Ocelot.Type.RED_CAT);
}
if (type == EntityType.OCELOT && data.equalsIgnoreCase("black"))
{
((Ocelot)spawned).setCatType(Ocelot.Type.BLACK_CAT);
}
}
}

View File

@ -1461,6 +1461,9 @@ dragonegg,122,0
degg,122,0
bossegg,122,0
begg,122,0
redstonelamp,123,0
redlamp,123,0
rslamp,123,0
ironshovel,256,0
ironspade,256,0
ishovel,256,0
@ -2453,6 +2456,10 @@ wolfegg,383,95
mooshroomegg,383,96
mushroomcowegg,383,96
villageregg,383,120
bottleofenchanting,384,0
enchantingbottle,384,0
expbottle,384,0
xpbottle,384,0
goldmusicrecord,2256,0
goldmusicdisk,2256,0
goldmusiccd,2256,0

1 #version: TeamCity
1461 degg,122,0
1462 bossegg,122,0
1463 begg,122,0
1464 redstonelamp,123,0
1465 redlamp,123,0
1466 rslamp,123,0
1467 ironshovel,256,0
1468 ironspade,256,0
1469 ishovel,256,0
2456 mooshroomegg,383,96
2457 mushroomcowegg,383,96
2458 villageregg,383,120
2459 bottleofenchanting,384,0
2460 enchantingbottle,384,0
2461 expbottle,384,0
2462 xpbottle,384,0
2463 goldmusicrecord,2256,0
2464 goldmusicdisk,2256,0
2465 goldmusiccd,2256,0