pub type NbtWriter = fn(&ComponentData) -> NbtTag;
Writer function for serializing a component to NBT format.