NBTExplorer/Substrate/SubstrateCS/Source/Entities/EntityPigZombie.cs
2011-04-06 19:41:57 +00:00

46 lines
977 B
C#

using System;
using System.Collections.Generic;
using System.Text;
namespace Substrate.Map.Entities
{
using Substrate.Map.NBT;
public class EntityPigZombie : EntityMob
{
public static readonly NBTCompoundNode PigZombieSchema = MobSchema.MergeInto(new NBTCompoundNode("")
{
new NBTStringNode("id", "PigZombie"),
});
public EntityPigZombie ()
: base("PigZombie")
{
}
public EntityPigZombie (Entity e)
: base(e)
{
}
#region INBTObject<Entity> Members
public override bool ValidateTree (NBT_Value tree)
{
return new NBTVerifier(tree, PigZombieSchema).Verify();
}
#endregion
#region ICopyable<Entity> Members
public override Entity Copy ()
{
return new EntityPigZombie(this);
}
#endregion
}
}