We generally try to avoid adding methods to nms classes, unless absolutely necessary.  Additionally, you need to use // Craftbukkit comments.  See https://github.com/Bukkit/CraftBukkit/blob/master/CONTRIBUTING.md#general-guidelines