I think the mapping of enum -> NMS ID should be done craftbukkit-side.