using System; using System.Collections.Generic; using System.Text; namespace Substrate.Entities { using Substrate.NBT; public class EntityArrow : EntityThrowable { public static readonly NBTCompoundNode ArrowSchema = ThrowableSchema.MergeInto(new NBTCompoundNode("") { new NBTStringNode("id", "Arrow"), }); public EntityArrow () : base("Arrow") { } public EntityArrow (Entity e) : base(e) { } #region INBTObject Members public override bool ValidateTree (NBT_Value tree) { return new NBTVerifier(tree, ArrowSchema).Verify(); } #endregion #region ICopyable Members public override Entity Copy () { return new EntityArrow(this); } #endregion } }