using System; using System.Collections.Generic; using System.Text; namespace Substrate.Entities { using Substrate.Nbt; public class EntityMooshroom : EntityCow { public static readonly SchemaNodeCompound MooshroomSchema = CowSchema.MergeInto(new SchemaNodeCompound("") { new SchemaNodeString("id", "MushroomCow"), }); public EntityMooshroom () : base("MushroomCow") { } public EntityMooshroom (TypedEntity e) : base(e) { } #region INBTObject Members public override bool ValidateTree (TagNode tree) { return new NbtVerifier(tree, MooshroomSchema).Verify(); } #endregion #region ICopyable Members public override TypedEntity Copy () { return new EntityMooshroom(this); } #endregion } }