getNMSClass

fun getNMSClass(className: String): Class<*>

Gets the class according to the version from the class name. Example: "net.minecraft.network.protocol.game.ClientboundChatPacket"