registerAttachmentType

fun <T : Attachment> registerAttachmentType(name: String, constructor: (Player) -> T): RegistryEntry.Nova<AttachmentType<T>>