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