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