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