A bunch of entity types needed the new keyword on their static TypeId properties.

This commit is contained in:
Justin Aquadro 2011-11-09 22:00:09 -05:00
parent 60f38ca402
commit d818806411
27 changed files with 27 additions and 27 deletions

View file

@ -13,7 +13,7 @@ namespace Substrate.Entities
new SchemaNodeString("id", TypeId), new SchemaNodeString("id", TypeId),
}); });
public static string TypeId public static new string TypeId
{ {
get { return "Blaze"; } get { return "Blaze"; }
} }

View file

@ -13,7 +13,7 @@ namespace Substrate.Entities
new SchemaNodeString("id", TypeId), new SchemaNodeString("id", TypeId),
}); });
public static string TypeId public static new string TypeId
{ {
get { return "CaveSpider"; } get { return "CaveSpider"; }
} }

View file

@ -13,7 +13,7 @@ namespace Substrate.Entities
new SchemaNodeString("id", TypeId), new SchemaNodeString("id", TypeId),
}); });
public static string TypeId public static new string TypeId
{ {
get { return "Chicken"; } get { return "Chicken"; }
} }

View file

@ -13,7 +13,7 @@ namespace Substrate.Entities
new SchemaNodeString("id", TypeId), new SchemaNodeString("id", TypeId),
}); });
public static string TypeId public static new string TypeId
{ {
get { return "Cow"; } get { return "Cow"; }
} }

View file

@ -14,7 +14,7 @@ namespace Substrate.Entities
new SchemaNodeScaler("powered", TagType.TAG_BYTE, SchemaOptions.OPTIONAL), new SchemaNodeScaler("powered", TagType.TAG_BYTE, SchemaOptions.OPTIONAL),
}); });
public static string TypeId public static new string TypeId
{ {
get { return "Creeper"; } get { return "Creeper"; }
} }

View file

@ -13,7 +13,7 @@ namespace Substrate.Entities
new SchemaNodeString("id", TypeId), new SchemaNodeString("id", TypeId),
}); });
public static string TypeId public static new string TypeId
{ {
get { return "EnderDragon"; } get { return "EnderDragon"; }
} }

View file

@ -19,7 +19,7 @@ namespace Substrate.Entities
new SchemaNodeScaler("carriedData", TagType.TAG_SHORT, SchemaOptions.CREATE_ON_MISSING), new SchemaNodeScaler("carriedData", TagType.TAG_SHORT, SchemaOptions.CREATE_ON_MISSING),
}); });
public static string TypeId public static new string TypeId
{ {
get { return "Enderman"; } get { return "Enderman"; }
} }

View file

@ -13,7 +13,7 @@ namespace Substrate.Entities
new SchemaNodeString("id", TypeId), new SchemaNodeString("id", TypeId),
}); });
public static string TypeId public static new string TypeId
{ {
get { return "Ghast"; } get { return "Ghast"; }
} }

View file

@ -13,7 +13,7 @@ namespace Substrate.Entities
new SchemaNodeString("id", TypeId), new SchemaNodeString("id", TypeId),
}); });
public static string TypeId public static new string TypeId
{ {
get { return "Giant"; } get { return "Giant"; }
} }

View file

@ -13,7 +13,7 @@ namespace Substrate.Entities
new SchemaNodeString("id", TypeId), new SchemaNodeString("id", TypeId),
}); });
public static string TypeId public static new string TypeId
{ {
get { return "LavaSlime"; } get { return "LavaSlime"; }
} }

View file

@ -12,7 +12,7 @@ namespace Substrate.Entities
new SchemaNodeList("Items", TagType.TAG_COMPOUND, ItemCollection.Schema), new SchemaNodeList("Items", TagType.TAG_COMPOUND, ItemCollection.Schema),
}); });
public static string TypeId public static new string TypeId
{ {
get { return EntityMinecart.TypeId; } get { return EntityMinecart.TypeId; }
} }

View file

@ -15,7 +15,7 @@ namespace Substrate.Entities
new SchemaNodeScaler("Fuel", TagType.TAG_SHORT), new SchemaNodeScaler("Fuel", TagType.TAG_SHORT),
}); });
public static string TypeId public static new string TypeId
{ {
get { return EntityMinecart.TypeId; } get { return EntityMinecart.TypeId; }
} }

View file

@ -13,7 +13,7 @@ namespace Substrate.Entities
new SchemaNodeString("id", TypeId), new SchemaNodeString("id", TypeId),
}); });
public static string TypeId public static new string TypeId
{ {
get { return "Monster"; } get { return "Monster"; }
} }

View file

@ -13,7 +13,7 @@ namespace Substrate.Entities
new SchemaNodeString("id", TypeId), new SchemaNodeString("id", TypeId),
}); });
public static string TypeId public static new string TypeId
{ {
get { return "MushroomCow"; } get { return "MushroomCow"; }
} }

View file

@ -14,7 +14,7 @@ namespace Substrate.Entities
new SchemaNodeScaler("Saddle", TagType.TAG_BYTE), new SchemaNodeScaler("Saddle", TagType.TAG_BYTE),
}); });
public static string TypeId public static new string TypeId
{ {
get { return "Pig"; } get { return "Pig"; }
} }

View file

@ -14,7 +14,7 @@ namespace Substrate.Entities
new SchemaNodeScaler("Anger", TagType.TAG_SHORT), new SchemaNodeScaler("Anger", TagType.TAG_SHORT),
}); });
public static string TypeId public static new string TypeId
{ {
get { return "PigZombie"; } get { return "PigZombie"; }
} }

View file

@ -15,7 +15,7 @@ namespace Substrate.Entities
new SchemaNodeScaler("Color", TagType.TAG_BYTE, SchemaOptions.CREATE_ON_MISSING), new SchemaNodeScaler("Color", TagType.TAG_BYTE, SchemaOptions.CREATE_ON_MISSING),
}); });
public static string TypeId public static new string TypeId
{ {
get { return "Sheep"; } get { return "Sheep"; }
} }

View file

@ -13,7 +13,7 @@ namespace Substrate.Entities
new SchemaNodeString("id", TypeId), new SchemaNodeString("id", TypeId),
}); });
public static string TypeId public static new string TypeId
{ {
get { return "Silverfish"; } get { return "Silverfish"; }
} }

View file

@ -13,7 +13,7 @@ namespace Substrate.Entities
new SchemaNodeString("id", TypeId), new SchemaNodeString("id", TypeId),
}); });
public static string TypeId public static new string TypeId
{ {
get { return "Skeleton"; } get { return "Skeleton"; }
} }

View file

@ -14,7 +14,7 @@ namespace Substrate.Entities
new SchemaNodeScaler("Size", TagType.TAG_INT), new SchemaNodeScaler("Size", TagType.TAG_INT),
}); });
public static string TypeId public static new string TypeId
{ {
get { return "Slime"; } get { return "Slime"; }
} }

View file

@ -13,7 +13,7 @@ namespace Substrate.Entities
new SchemaNodeString("id", TypeId), new SchemaNodeString("id", TypeId),
}); });
public static string TypeId public static new string TypeId
{ {
get { return "SmallFireball"; } get { return "SmallFireball"; }
} }

View file

@ -13,7 +13,7 @@ namespace Substrate.Entities
new SchemaNodeString("id", TypeId), new SchemaNodeString("id", TypeId),
}); });
public static string TypeId public static new string TypeId
{ {
get { return "SnowMan"; } get { return "SnowMan"; }
} }

View file

@ -13,7 +13,7 @@ namespace Substrate.Entities
new SchemaNodeString("id", TypeId), new SchemaNodeString("id", TypeId),
}); });
public static string TypeId public static new string TypeId
{ {
get { return "Spider"; } get { return "Spider"; }
} }

View file

@ -13,7 +13,7 @@ namespace Substrate.Entities
new SchemaNodeString("id", TypeId), new SchemaNodeString("id", TypeId),
}); });
public static string TypeId public static new string TypeId
{ {
get { return "Squid"; } get { return "Squid"; }
} }

View file

@ -23,7 +23,7 @@ namespace Substrate.Entities
new SchemaNodeScaler("Profession", TagType.TAG_INT), new SchemaNodeScaler("Profession", TagType.TAG_INT),
}); });
public static string TypeId public static new string TypeId
{ {
get { return "Villager"; } get { return "Villager"; }
} }

View file

@ -16,7 +16,7 @@ namespace Substrate.Entities
new SchemaNodeScaler("Angry", TagType.TAG_BYTE), new SchemaNodeScaler("Angry", TagType.TAG_BYTE),
}); });
public static string TypeId public static new string TypeId
{ {
get { return "Wolf"; } get { return "Wolf"; }
} }

View file

@ -13,7 +13,7 @@ namespace Substrate.Entities
new SchemaNodeString("id", TypeId), new SchemaNodeString("id", TypeId),
}); });
public static string TypeId public static new string TypeId
{ {
get { return "Zombie"; } get { return "Zombie"; }
} }