using System; using System.Collections.Generic; using System.Text; namespace Substrate.Entities { using Substrate.Nbt; public class EntitySmallFireball : EntityFireball { public static readonly SchemaNodeCompound SmallFireballSchema = FireballSchema.MergeInto(new SchemaNodeCompound("") { new SchemaNodeString("id", TypeId), }); public static string TypeId { get { return "SmallFireball"; } } protected EntitySmallFireball (string id) : base(id) { } public EntitySmallFireball () : this(TypeId) { } public EntitySmallFireball (TypedEntity e) : base(e) { } #region INBTObject Members public override bool ValidateTree (TagNode tree) { return new NbtVerifier(tree, SmallFireballSchema).Verify(); } #endregion #region ICopyable Members public override TypedEntity Copy () { return new EntitySmallFireball(this); } #endregion } }